db

package
v0.0.0-...-11f3fd8 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DBTypeCosmosDB = "cosmosdb"
View Source
const DBTypeMongoDB = "mongodb"
View Source
const DBTypePGSQL = "pgsql"

Variables

This section is empty.

Functions

This section is empty.

Types

type DBContext

type DBContext interface {
	SaveGreeting(greetedPerson string, greeting string) error
	GetGreeting(greetedPerson string) (*string, error)
}

func NewDBContext

func NewDBContext(dbType string, dataSource string) (DBContext, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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