Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ContriHubDB *gorm.DB
View Source
var Db *gorm.DB
View Source
var GoogleOAuthConfig *oauth2.Config
View Source
var SessionCookieStore *sessions.CookieStore
Functions ¶
func InitTemplateRenderer ¶
Types ¶
type Env ¶
type Env struct {
BaseUrl string
Port string
RegistrationDeadline int64
DeclareResult bool
// contains filtered or unexported fields
}
Env is a struct that contains all the environment variables.
var EnvVars *Env
type TemplateRenderer ¶
type TemplateRenderer struct {
// contains filtered or unexported fields
}
TemplateRenderer is a custom html/template renderer for Echo framework
Click to show internal directories.
Click to hide internal directories.