Documentation
¶
Index ¶
Constants ¶
View Source
const ( FieldEN = "English" FieldZH = "Chinese" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Promotion ¶
type Promotion struct { Id string Name PromotionName Desc PromotionDesc Poster string RegUsers []RegUser Duration PromotionDuration }
type PromotionDesc ¶
type PromotionDesc interface {
PromotionDesc() string
}
PromotionDesc
func NewPromotionDesc ¶
func NewPromotionDesc(v string) (PromotionDesc, error)
type PromotionDuration ¶
PromotionDuration
func NewPromotionDuration ¶
func NewPromotionDuration(v string) (PromotionDuration, error)
type PromotionName ¶
type PromotionName interface {
PromotionName() string
}
PronotionName
func NewPromotionName ¶
func NewPromotionName(v string) (PromotionName, error)
type Rule ¶
func (*Rule) IsValidPoint ¶
type Sentence ¶
type Sentence interface { Sentence(common.Language) string SentenceMap() map[string]string ENSentence() string ZHSentence() string }
Sentence
func NewSentence ¶
type UserPoints ¶
type UserRegistration ¶
type UserRegistration = userdomain.UserRegInfo
Click to show internal directories.
Click to hide internal directories.