package
Version:
v0.0.0-...-dae980f
Opens a new window with list of versions in this module.
Published: May 17, 2020
License: MIT
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
¶
ConnString returns a connection string based on the parameters it's given
This would normally also contain the password, however we're not using one
type Db struct {
*sql.DB
}
Db is our database struct used for interacting with the database
New makes a new database using the connection string and
returns it, otherwise returns the error
GetUsersByName is called within our user query for graphql
Source Files
¶
Click to show internal directories.
Click to hide internal directories.