Dockerfile
This commit is contained in:
13
consts/data/platform_status.go
Normal file
13
consts/data/platform_status.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package data
|
||||
|
||||
// PlatformStatus 平台状态
|
||||
type PlatformStatus string
|
||||
|
||||
const (
|
||||
PlatformStatusActive PlatformStatus = "active" // 启用
|
||||
PlatformStatusInactive PlatformStatus = "inactive" // 停用
|
||||
)
|
||||
|
||||
func (s PlatformStatus) String() string {
|
||||
return string(s)
|
||||
}
|
||||
Reference in New Issue
Block a user