You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package enum
-
- type SysCfg string
-
- const (
- AppName = "app_name"
- AppLogo = "app_logo"
- )
-
- func (gt SysCfg) String() string {
- switch gt {
- case AppName:
- return "项目名称"
- case AppLogo:
- return "项目logo"
- default:
- return "未知"
- }
- }
|