Documentation ¶
Index ¶
- Variables
- func NewListMap(cap int) *listMap
- type CmdCode
- type CmdId
- type CmdIdStr
- type CmdPage
- type CmdStat
- type Comparator
- type LocalDatetime
- func (domain LocalDatetime) IsNull() bool
- func (domain *LocalDatetime) MarshalJSON() ([]byte, error)
- func (domain *LocalDatetime) Scan(src any) error
- func (domain LocalDatetime) String() string
- func (domain LocalDatetime) Time() time.Time
- func (domain *LocalDatetime) UnmarshalJSON(data []byte) (err error)
- func (domain LocalDatetime) Value() (driver.Value, error)
- type Pageable
- type Pair
- type Resp
- type String
- func (domain *String) Bool() bool
- func (domain *String) EqualFold(val string) bool
- func (domain *String) Float32() float32
- func (domain *String) Float64() float64
- func (domain *String) HasPrefix(prefix string) bool
- func (domain *String) HasSuffix(suffix string) bool
- func (domain *String) Index(substr string) int
- func (domain *String) IndexAny(chars string) int
- func (domain *String) Int() int
- func (domain *String) Int16() int16
- func (domain *String) Int32() int32
- func (domain *String) Int64() int64
- func (domain *String) Int8() int8
- func (domain *String) IsEmpty() bool
- func (domain *String) LastIndex(substr string) int
- func (domain *String) LastIndexAny(chars string) int
- func (domain *String) Length() int
- func (domain *String) LocalDateTime() LocalDatetime
- func (domain *String) Scan(src any) error
- func (domain *String) String() string
- func (domain *String) Time() time.Time
- func (domain *String) UnmarshalJSON(data []byte) (err error)
- func (domain *String) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var SToString = func(data any) string { return fmt.Sprintf("%v", data) }
Functions ¶
func NewListMap ¶
func NewListMap(cap int) *listMap
Types ¶
type CmdCode ¶ added in v0.0.8
type CmdCode struct {
Code string `json:"code" form:"code" uri:"code" binding:"required"`
}
type CmdId ¶ added in v0.0.8
type CmdId struct {
Id int64 `json:"id" form:"id" uri:"id" binding:"required"`
}
type CmdIdStr ¶ added in v0.0.8
type CmdIdStr struct {
Id string `json:"id" form:"id" uri:"id" binding:"required"`
}
type Comparator ¶
type LocalDatetime ¶
func NowLocalDateTime ¶
func NowLocalDateTime() *LocalDatetime
func ToLocalDateTime ¶
func ToLocalDateTime(str string) LocalDatetime
func (LocalDatetime) IsNull ¶
func (domain LocalDatetime) IsNull() bool
func (*LocalDatetime) MarshalJSON ¶
func (domain *LocalDatetime) MarshalJSON() ([]byte, error)
func (*LocalDatetime) Scan ¶
func (domain *LocalDatetime) Scan(src any) error
func (LocalDatetime) String ¶
func (domain LocalDatetime) String() string
func (LocalDatetime) Time ¶
func (domain LocalDatetime) Time() time.Time
func (*LocalDatetime) UnmarshalJSON ¶
func (domain *LocalDatetime) UnmarshalJSON(data []byte) (err error)
type Pageable ¶
type String ¶
type String string
func NowLocalDateTimeStr ¶
func NowLocalDateTimeStr() String
func ReadString ¶
func (*String) LastIndexAny ¶
func (*String) LocalDateTime ¶
func (domain *String) LocalDateTime() LocalDatetime
func (*String) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.