Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrConnectionToDBFailed = errors.New("failed to open connection to the postgres database") ErrClientNotConnectedToDB = errors.New("there is no existing open connection to the database") )
View Source
var DB *ent.Client
Functions ¶
func ConnectToDB ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.