Documentation ¶
Index ¶
- Variables
- func ApplyTemplate(temp string, data map[string]interface{}) (string, error)
- func DecodeBase64(in string) (string, error)
- func EncodeBase64(in string) string
- func ExecCommand(cmd string) ([]byte, error)
- func ExecCommandString(cmd string) (string, error)
- func GetCurrentDirectory() string
- func GetIPs() (ips []string)
- func GetMacAddrs() (macAddrs []string)
- func GetRandomSalt() string
- func GetRandomString(len int) string
- func Jiami(code string) string
- func MD5(text string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var Engine *xorm.Engine
Functions ¶
func ApplyTemplate ¶
渲染模板
func ExecCommand ¶
func ExecCommandString ¶
func GetCurrentDirectory ¶
func GetCurrentDirectory() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.