Documentation ¶
Overview ¶
============================================================ 描述: 作者: Simon 日期: 2019/10/24 5:20 下午
============================================================
============================================================ 描述: 作者: Simon 日期: 2019/10/24 5:43 下午
============================================================
Index ¶
- type Bool
- type Ext
- type Float
- type Int
- type LibItem
- type MSTimeStamp
- type String
- func (s String) Get() string
- func (s String) IsEmpty() bool
- func (s String) MarshalJSON() ([]byte, error)
- func (s *String) Scan(value interface{}) error
- func (s *String) Set(value string)
- func (s String) String() string
- func (s *String) UnmarshalJSON(data []byte) error
- func (s String) Value() (driver.Value, error)
- type Time
- func (t Time) Get() time.Time
- func (t Time) IsEmpty() bool
- func (t Time) MarshalJSON() ([]byte, error)
- func (t *Time) Scan(value interface{}) error
- func (t Time) String() string
- func (t *Time) UnmarshalJSON(data []byte) error
- func (t *Time) UnmarshalText(text []byte) error
- func (t Time) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶
type Bool struct {
// contains filtered or unexported fields
}
对应基础类型 bool
func (Bool) MarshalJSON ¶
func (*Bool) UnmarshalJSON ¶
type Ext ¶
type Ext struct {
// contains filtered or unexported fields
}
func (Ext) MarshalJSON ¶
func (*Ext) SetExtItem ¶
func (*Ext) UnmarshalJSON ¶
type Float ¶
type Float struct {
// contains filtered or unexported fields
}
float32 float64 float16 float8
func (Float) MarshalJSON ¶
func (*Float) UnmarshalJSON ¶
type Int ¶
type Int struct {
// contains filtered or unexported fields
}
func (Int) MarshalJSON ¶
func (*Int) UnmarshalJSON ¶
type MSTimeStamp ¶
type MSTimeStamp struct {
// contains filtered or unexported fields
}
func (MSTimeStamp) MarshalJSON ¶
func (s MSTimeStamp) MarshalJSON() ([]byte, error)
func (*MSTimeStamp) Scan ¶
func (s *MSTimeStamp) Scan(value interface{}) error
func (*MSTimeStamp) UnmarshalJSON ¶
func (s *MSTimeStamp) UnmarshalJSON(data []byte) error
type String ¶
type String struct {
// contains filtered or unexported fields
}
func (String) MarshalJSON ¶
func (*String) UnmarshalJSON ¶
type Time ¶
type Time struct {
// contains filtered or unexported fields
}
func (Time) MarshalJSON ¶
func (*Time) UnmarshalJSON ¶
func (*Time) UnmarshalText ¶
UnmarshalText json 反序列化
Source Files ¶
Click to show internal directories.
Click to hide internal directories.