Documentation
¶
Index ¶
- func Version() string
- type DingJson
- func (d *DingJson) ArrayEach(eachFunc func(json *DingJson), keys ...string)
- func (d *DingJson) ConventToStr() string
- func (d *DingJson) ConventToStruct(v interface{}) error
- func (d *DingJson) Get(keys ...string) (*DingJson, error)
- func (d *DingJson) GetInt(keys ...string) (int64, error)
- func (d *DingJson) GetSrc() []byte
- func (d *DingJson) GetString(keys ...string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DingJson ¶
type DingJson struct {
// contains filtered or unexported fields
}
func NewFromStruct ¶
NewFromStruct 通过struct生成dingjson类型(推荐)
func (*DingJson) ConventToStruct ¶
ConventToStruct 将json对象转换为struct类型
Click to show internal directories.
Click to hide internal directories.