package
Version:
v0.0.0-...-922fd97
Opens a new window with list of versions in this module.
Published: Jul 12, 2019
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Ping the database to verify DSN provided by the user is valid and the
server accessible. If the ping fails exit the program with an error.
type User struct {
Username string `json:"username"`
Password string `json:"password"`
}
Query the database for the information requested and prints the results.
If the query fails exit the program with an error.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.