Documentation ¶
Index ¶
- func BytesToInt(b []byte) int
- func EventResult(code, etype, widgetId string, data interface{}) (string, error)
- func GetID() string
- func GetMD5ID() string
- func GetTimeStamp() int64
- func GetTimeStampUnixNano() int64
- func HtmlTemplate(template *htmlTemplate.Template, data interface{}) (string, error)
- func HtmlTemplateBuffer(template *htmlTemplate.Template, data interface{}) (*bytes.Buffer, error)
- func IsBlank(value ...string) bool
- func IsExist(path string) bool
- func MD5(str string) string
- func ParseInt(value interface{}) int
- func ParseString(value interface{}) string
- func Sleep(s time.Duration)
- func TextTemplate(template *textTemplate.Template, data interface{}) (string, error)
- func ToArrayJson(dataAray interface{})
- func ToJson(data interface{}) ([]byte, error)
- func ToObject(data []byte, i interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToInt ¶
func EventResult ¶
func HtmlTemplate ¶
func HtmlTemplate(template *htmlTemplate.Template, data interface{}) (string, error)
func HtmlTemplateBuffer ¶
func HtmlTemplateBuffer(template *htmlTemplate.Template, data interface{}) (*bytes.Buffer, error)
func ParseString ¶
func ParseString(value interface{}) string
func TextTemplate ¶
func TextTemplate(template *textTemplate.Template, data interface{}) (string, error)
func ToArrayJson ¶
func ToArrayJson(dataAray interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.