db

package
v0.0.0-...-7b85903 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FailedToMarshalItem  = "Failed to marshal item"
	ErrorCouldNotPutItem = "Error, failed to enter new item"
)

Functions

This section is empty.

Types

type DynamoClient

type DynamoClient[T interface{}] struct {
	// contains filtered or unexported fields
}

func NewDynamoClient

func NewDynamoClient[T interface{}](dynamodbSession dynamodbiface.DynamoDBAPI, tableName string) DynamoClient[T]

func (*DynamoClient[T]) InsertInto

func (d *DynamoClient[T]) InsertInto(item T) error

* * How do I customize the construction this type parameter list to use the generic values that I create? *

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL