Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 

22 wiersze
440 B

  1. package system_setting
  2. import "github.com/QuantumNous/new-api/setting/config"
  3. type LegalSettings struct {
  4. UserAgreement string `json:"user_agreement"`
  5. PrivacyPolicy string `json:"privacy_policy"`
  6. }
  7. var defaultLegalSettings = LegalSettings{
  8. UserAgreement: "",
  9. PrivacyPolicy: "",
  10. }
  11. func init() {
  12. config.GlobalConfig.Register("legal", &defaultLegalSettings)
  13. }
  14. func GetLegalSettings() *LegalSettings {
  15. return &defaultLegalSettings
  16. }