Documentation ¶
Index ¶
- Variables
- func GetConnect(ctx context.Context) (newCtx context.Context)
- func Insert(ctx context.Context, nameIdx, id string, obj interface{})
- func LoadObjectID(ctx context.Context, nameIdx string, obj interface{})
- func ReadJSONFile(fName string, data interface{})
- func Update(ctx context.Context, nameIdx, id string, obj interface{})
- type Address
- type Client
- type Phone
Constants ¶
This section is empty.
Variables ¶
View Source
var ClientKey contextKey = contextKey{Key: 2}
ClientKey ...
View Source
var MoviesKey contextKey = contextKey{Key: 1}
MoviesKey ...
Functions ¶
func LoadObjectID ¶
LoadObjectID ...
func ReadJSONFile ¶
func ReadJSONFile(fName string, data interface{})
ReadJSONFile reads filename fName and unmarshall json to data
Types ¶
Click to show internal directories.
Click to hide internal directories.