Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MysqlConnection ¶ added in v1.14.0
MysqlConnection func for connection to Mysql database.
func PostgreSQLConnection ¶
PostgreSQLConnection func for connection to PostgreSQL database.
Types ¶
type Queries ¶
type Queries struct { *queries.UserQueries // load queries from User model *queries.BookQueries // load queries from Book model }
Queries struct for collect all app queries.
func OpenDBConnection ¶
OpenDBConnection func for opening database connection.
Click to show internal directories.
Click to hide internal directories.