Documentation
¶
Index ¶
- Constants
- func BuildTemplateCache() (map[string]*template.Template, error)
- func GetPool() *pgxpool.Pool
- func GetRootDir() (string, error)
- func GetSQLDB() *sql.DB
- func GetSession() *scs.SessionManager
- func GetTemplates() map[string]*template.Template
- func InitDB() error
- func InitEnv() error
- func InitSessionManager()
- func Migrate() error
- type Env
- type QueryExe
Constants ¶
View Source
const ( Development = "development" Test = "test" Production = "production" )
Variables ¶
This section is empty.
Functions ¶
func GetRootDir ¶
func GetSession ¶
func GetSession() *scs.SessionManager
func GetTemplates ¶
func InitSessionManager ¶
func InitSessionManager()
Types ¶
Click to show internal directories.
Click to hide internal directories.