chore: formating

This commit is contained in:
Jesús Pérez 2024-09-16 20:37:50 +01:00
parent aeeeaa9e49
commit 80d92542dc
No known key found for this signature in database

View File

@ -45,17 +45,17 @@ type Config struct {
InvitationsPath string `yaml:"invitationsPath" json:"invitationsPath"` InvitationsPath string `yaml:"invitationsPath" json:"invitationsPath"`
RecoveryTime int `yaml:"recoveryTime" json:"recoveryTime"` RecoveryTime int `yaml:"recoveryTime" json:"recoveryTime"`
UseAuthz bool `yaml:"useAuthz" json:"useAuthz"` UseAuthz bool `yaml:"useAuthz" json:"useAuthz"`
AuthzModel string `yaml:"authzModel" json:"authzModel"` AuthzModel string `yaml:"authzModel" json:"authzModel"`
AuthzPolicy string `yaml:"authzPolicy" json:"authzPolicy"` AuthzPolicy string `yaml:"authzPolicy" json:"authzPolicy"`
AdminRole string `yaml:"adminRole" json:"adminRole"` AdminRole string `yaml:"adminRole" json:"adminRole"`
IdentityKey string `yaml:"identityKey" json:"identityKey"` IdentityKey string `yaml:"identityKey" json:"identityKey"`
UsersStore DataStore `yaml:"usersStore" json:"usersStore"` UsersStore DataStore `yaml:"usersStore" json:"usersStore"`
RootAuthGroup string `yaml:"rootAuthGroup" json:"rootAuthGroup"` RootAuthGroup string `yaml:"rootAuthGroup" json:"rootAuthGroup"`
Routes map[string]RouteItem `yaml:"routes" json:"routes"` Routes map[string]RouteItem `yaml:"routes" json:"routes"`
TemplatesRoot string `yaml:"templatesRoot" json:"templatesRoot"` TemplatesRoot string `yaml:"templatesRoot" json:"templatesRoot"`
TemplatesExt string `yaml:"templatesExt" json:"templatesExt"` TemplatesExt string `yaml:"templatesExt" json:"templatesExt"`
TemplatesIncludes string `yaml:"templatesIncludes" json:"templatesIncludes"` TemplatesIncludes string `yaml:"templatesIncludes" json:"templatesIncludes"`
TemplatesLayouts string `yaml:"templatesLayouts" json:"templatesLayouts"` TemplatesLayouts string `yaml:"templatesLayouts" json:"templatesLayouts"`
TemplatesFiles map[string]TemplateItem `yaml:"templatesFiles" json:"templatesFiles"` TemplatesFiles map[string]TemplateItem `yaml:"templatesFiles" json:"templatesFiles"`
AssetsPath string `yaml:"assetsPath" json:"assetsPath"` AssetsPath string `yaml:"assetsPath" json:"assetsPath"`
AssetsURL string `yaml:"assetsURL" json:"assetsURL"` AssetsURL string `yaml:"assetsURL" json:"assetsURL"`
@ -72,24 +72,24 @@ type Config struct {
MainLang string `yaml:"mainLang" json:"mainLang"` MainLang string `yaml:"mainLang" json:"mainLang"`
Langs []string `yaml:"langs" json:"langs"` Langs []string `yaml:"langs" json:"langs"`
DebugLevel int `yaml:"debugLevel" json:"debugLevel"` DebugLevel int `yaml:"debugLevel" json:"debugLevel"`
UseRepo bool `yaml:"useRepo" json:"useRepo"` UseRepo bool `yaml:"useRepo" json:"useRepo"`
UseRepoOnReq bool `yaml:"useRepoOnReq" json:"useRepoOnReq"` UseRepoOnReq bool `yaml:"useRepoOnReq" json:"useRepoOnReq"`
RepoPath string `yaml:"repoPath" json:"repoPath"` RepoPath string `yaml:"repoPath" json:"repoPath"`
RepoName string `yaml:"repoName" json:"repoName"` RepoName string `yaml:"repoName" json:"repoName"`
RepoCommit string `yaml:"repoCommit" json:"repoCommit"` RepoCommit string `yaml:"repoCommit" json:"repoCommit"`
BackgGit bool `yaml:"backgGit" json:"backgGit"` BackgGit bool `yaml:"backgGit" json:"backgGit"`
QuietGit bool `yaml:"quietGit" json:"quietGit"` QuietGit bool `yaml:"quietGit" json:"quietGit"`
MailHost string `yaml:"mailHost" json:"mailHost"` MailHost string `yaml:"mailHost" json:"mailHost"`
MailPort int `yaml:"mailPort" json:"mailPort"` MailPort int `yaml:"mailPort" json:"mailPort"`
MailFrom string `yaml:"mailFrom" json:"mailFrom"` MailFrom string `yaml:"mailFrom" json:"mailFrom"`
MailUser string `yaml:"mailUser" json:"mailUser"` MailUser string `yaml:"mailUser" json:"mailUser"`
MailPswd string `yaml:"mailPswd" json:"mailPswd"` MailPswd string `yaml:"mailPswd" json:"mailPswd"`
MailCertPath string `yaml:"mailCertPath" json:"mailCertPath"` MailCertPath string `yaml:"mailCertPath" json:"mailCertPath"`
MailCertDom string `yaml:"mailCertDom" json:"mailCertDom"` MailCertDom string `yaml:"mailCertDom" json:"mailCertDom"`
TplsMailPath string `yaml:"tplsMailPath" json:"tplsMailPath"` TplsMailPath string `yaml:"tplsMailPath" json:"tplsMailPath"`
TplsMail map[string]MailTemplateItem `yaml:"tplsMail" json:"tplsMail"` TplsMail map[string]MailTemplateItem `yaml:"tplsMail" json:"tplsMail"`
OpenBrowser bool `yaml:"openBrowser" json:"openBrowser"` OpenBrowser bool `yaml:"openBrowser" json:"openBrowser"`
RedisHost string `yaml:"redisHost" json:"redisHost"` RedisHost string `yaml:"redisHost" json:"redisHost"`
RedisPort int `yaml:"redisPort" json:"redisPort"` RedisPort int `yaml:"redisPort" json:"redisPort"`
RedisDB string `yaml:"redisDB" json:"redisDB"` RedisDB string `yaml:"redisDB" json:"redisDB"`
RedisPswd string `yaml:"redisPswd" json:"redisPswd"` RedisPswd string `yaml:"redisPswd" json:"redisPswd"`