Use gofmt -s

This commit is contained in:
Jannis Mattheis
2018-03-24 19:24:57 +01:00
committed by Jannis Mattheis
parent 8d7c7a5a50
commit 0f2e7cf5e2
16 changed files with 31 additions and 29 deletions

View File

@@ -6,13 +6,13 @@ import "github.com/jinzhu/configor"
type Configuration struct {
Server struct {
Port int `default:"80"`
SSL struct {
SSL struct {
Enabled *bool `default:"false"`
RedirectToHTTPS *bool `default:"true"`
Port int `default:"443"`
CertFile string `default:""`
CertKey string `default:""`
LetsEncrypt struct {
LetsEncrypt struct {
Enabled *bool `default:"false"`
AcceptTOS *bool `default:"false"`
Cache string `default:"certs"`