Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Root = os.Getenv("GOPATH") + "/src/github.com/sunwukonga/paypal-qor-admin" SGT, _ = time.LoadLocation("Asia/Singapore") View *render.Render )
View Source
var Config = struct { Port uint `default:"80" env:"PORT"` Host string `default:"172.31.19.190" env:"HOST"` DB struct { Name string `default:"qor_example"` Host string `default:"localhost"` Port string `default:"3306"` Adapter string `default:"mysql"` User string Password string } SMTP SMTPConfig }{}
Functions ¶
This section is empty.
Types ¶
type SMTPConfig ¶
func (SMTPConfig) HostWithPort ¶
func (s SMTPConfig) HostWithPort() string
Click to show internal directories.
Click to hide internal directories.