store

package
v0.0.0-...-aed6008 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseService

type DatabaseService struct {
	// contains filtered or unexported fields
}

DatabaseService defines a general database provider type

func NewTable

func NewTable(tableName string) (*DatabaseService, error)

NewTable Creates a pointer to new new DynamoDB type

func (*DatabaseService) CreateItem

func (i *DatabaseService) CreateItem(item entity.Item) error

CreateItem is a receiver function for DatabaseService, this creates new item in database

Jump to

Keyboard shortcuts

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