package
Version:
v0.0.0-...-76439fa
Opens a new window with list of versions in this module.
Published: Jul 17, 2019
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
NewUserStore is the constructor of Store
Store defines user store struct
func (s Store) Create(args interface{}) (interface{}, error)
Create creates a new user record, return errors if any
Delete deletes a user record.
func (s Store) Retrieve(_ interface{}) (interface{}, error)
Retrieve retrieves users. Since currently it does not make sense getting one user,
we just assume retrieving all users first
Update updates a user records. Currently no need for update
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.