You've already forked golang-base-project
Initial commit
This commit is contained in:
20
config/main.go
Normal file
20
config/main.go
Normal file
@ -0,0 +1,20 @@
|
||||
// Package config defines the env configuration variables
|
||||
package config
|
||||
|
||||
type Config struct {
|
||||
Port string
|
||||
CookieSecret string
|
||||
Database string
|
||||
DatabaseHost string
|
||||
DatabasePort string
|
||||
DatabaseName string
|
||||
DatabaseUsername string
|
||||
DatabasePassword string
|
||||
BaseURL string
|
||||
SMTPUsername string
|
||||
SMTPPassword string
|
||||
SMTPHost string
|
||||
SMTPPort string
|
||||
SMTPSender string
|
||||
RequestsPerMinute int
|
||||
}
|
Reference in New Issue
Block a user