Documentation ¶
Index ¶
- func CreateMasterKeyTable() *sql.DB
- func GetUserDetails(db *sql.DB) (*userDetails, error)
- func InsertUserDataToDB(db *sql.DB, firstName string, lastName string, email string, isActive bool)
- func ResetMasterKey(db *sql.DB) error
- func UpdateInfo(db *sql.DB, id int, firstName string, lastName string, email string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMasterKeyTable ¶
CreateMasterKeyTable creates a mastertable if it doesn't exist.
func GetUserDetails ¶
GetUserDetails get the details of the user.
func InsertUserDataToDB ¶
InsertUserDataToDB inserts new information to the database.
func ResetMasterKey ¶
ResetMasterKey resets master key in the database.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.