package
Version:
v0.0.0-...-85d8416
Opens a new window with list of versions in this module.
Published: Mar 8, 2019
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ConStr returns a connection string when passed in parameters
type Db struct {
*sql.DB
}
Db is used for interacting with the database
New makes a new database using the conStr
GetUser is called within our user query for graphql
User struct defined for db
Source Files
¶
Click to show internal directories.
Click to hide internal directories.