Documentation ¶
Index ¶
- func BytesToInt64(buf []byte) int64
- func Int64ToBytes(i int64) []byte
- type App
- type Auth
- type Config
- type Datasource
- type ElasticSearch
- type EsDate
- type EsTime
- type Etcd
- type Gateway
- type Json
- type Nsq
- type Page
- type QueryWrapper
- type R
- type Redis
- type Register
- type XjDate
- func (t *XjDate) GobDecode(data []byte) error
- func (t XjDate) GobEncode() ([]byte, error)
- func (t XjDate) MarshalJSON() ([]byte, error)
- func (t *XjDate) Scan(v interface{}) error
- func (t XjDate) String() string
- func (t XjDate) StringDiy(sFormat string) string
- func (t *XjDate) UnmarshalJSON(data []byte) (err error)
- func (t XjDate) Value() (driver.Value, error)
- type XjTime
- func (t *XjTime) GobDecode(data []byte) error
- func (t XjTime) GobEncode() ([]byte, error)
- func (t XjTime) MarshalJSON() ([]byte, error)
- func (t *XjTime) Scan(v interface{}) error
- func (t XjTime) String() string
- func (t XjTime) StringDiy(sFormat string) string
- func (t *XjTime) UnmarshalJSON(data []byte) (err error)
- func (t XjTime) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToInt64 ¶
func Int64ToBytes ¶
Types ¶
type Page ¶
type Page struct { Current int `json:"current""` //当前页 Size int `json:"size"` //每页条数 Total int64 `json:"total"` //总条数 Pages int64 `json:"pages"` //总页数 Records interface{} `json:"records"` //结果集 }
func (*Page) SetPageSize ¶
type QueryWrapper ¶
type R ¶
type XjDate ¶
func (XjDate) MarshalJSON ¶
func (*XjDate) UnmarshalJSON ¶
type XjTime ¶
func (XjTime) MarshalJSON ¶
func (*XjTime) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.