package
Version:
v0.0.0-...-cd5feb8
Opens a new window with list of versions in this module.
Published: Jan 29, 2019
License: Unlicense
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
Documentation
¶
Dao interface contains all those methods required for performing user related database operations.
All database should implement this interface.
type Handler struct {
Dao Dao
}
Handler sample user handler
func (*Handler) Create ¶
Create handles create user request
func (*Handler) Delete ¶
Delete handles delete user request
type User struct {
Name string `json:"name"`
}
User data structure
Source Files
¶
Click to show internal directories.
Click to hide internal directories.