Documentation
¶
Overview ¶
This is a test package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var DateFieldsPool = sync.Pool{New: func() interface{} { return &DateFields{} }}
Functions ¶
This section is empty.
Types ¶
type DateFields ¶
type DateFields struct {
CreateAt time.Time `json:"create_at" bson:"create_at"`
UpdateAt time.Time `json:"update_at" bson:"update_at"`
}
+k8s:deepcopy-gen=false
func (*DateFields) DeepCopy ¶
func (this_ *DateFields) DeepCopy() *DateFields
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DateFields.
func (*DateFields) DeepCopyInto ¶
func (this_ *DateFields) DeepCopyInto(out *DateFields)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DateFields) Reset ¶
func (this_ *DateFields) Reset()
type Inner ¶
type Inner struct {
Byte byte
// Int8 int8 //TODO: int8 becomes byte in SnippetWriter
Int16 int16
Int32 int32
Int64 int64
Uint8 uint8
Uint16 uint16
Uint32 uint32
Uint64 uint64
Float32 float32
Float64 float64
String []string
}
func (*Inner) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Inner.
func (*Inner) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Inner) ResetNoSelf ¶
func (in *Inner) ResetNoSelf()
ResetNoSelf puts the given value back into the pool.
type Ttest ¶
func (*Ttest) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ttest.
func (*Ttest) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Ttest) ResetNoSelf ¶
func (in *Ttest) ResetNoSelf()
ResetNoSelf puts the given value back into the pool.
type Unlock ¶
type Unlock struct {
RoleId int64 `json:"role_id" bson:"_id"`
Progress map[int32]map[int64]int64 `json:"progress" bson:"progress"` // map[条件枚举][条件目标id]进度
Unlocked map[int32]map[int64]bool `json:"unlocked" bson:"unlocked"` // map[解锁目标枚举][解锁目标id]是否已解锁
DateFields `json:",inline" bson:",inline"`
}
func (*Unlock) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Unlock.
func (*Unlock) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Unlock) ResetNoSelf ¶
func (in *Unlock) ResetNoSelf()
ResetNoSelf puts the given value back into the pool.