package
Version:
v0.0.5
Opens a new window with list of versions in this module.
Published: Apr 23, 2020
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func IsDataValid(data interface{}) bool
IsDataValid checks if data is valid
func IsUpdateValid(update interface{}) bool
IsUpdateValid checks if the update is valid
MainDB is used to handle user mainDB data
New returns a new mainDB handler struct
func (MainDB) Create ¶
Create is used to add new mainDB data
GenerateID is used to generate an user id
func (MainDB) Get ¶
Get is used to a users data
func (MainDB) Update ¶
Update updates user's mainDB data
Source Files
¶
Click to show internal directories.
Click to hide internal directories.