mirror of
https://shylinux.com/x/education
synced 2025-04-25 10:08:05 +08:00
22 lines
379 B
Go
22 lines
379 B
Go
package jiaocaiziliao
|
|
|
|
import "shylinux.com/x/ice"
|
|
|
|
type issuer struct{ Table }
|
|
|
|
func init() { ice.TeamCtxCmd(issuer{}) }
|
|
|
|
type IssuerType int
|
|
|
|
const (
|
|
IssuerPersonal IssuerType = iota
|
|
IssuerPublisher
|
|
)
|
|
|
|
var IssuerTypeList = map[IssuerType]string{
|
|
IssuerPersonal: "personal",
|
|
IssuerPublisher: "publisher",
|
|
}
|
|
|
|
func (s IssuerType) String() string { return IssuerTypeList[s] }
|