Documentation
¶
Index ¶
- Constants
- func Create(p string) (*os.File, string, error)
- func Data(arg ...interface{}) map[string]interface{}
- func Dict(arg ...interface{}) map[string]interface{}
- func Duration(str interface{}) time.Duration
- func Fetch(val interface{}, cbs interface{}) interface{}
- func FmtSize(size int64) string
- func FmtTime(t int64) string
- func Format(val interface{}, arg ...interface{}) string
- func Formats(val interface{}) string
- func Hash(arg ...interface{}) (string, []string)
- func Hashs(arg ...interface{}) string
- func IndexOf(str []string, sub string) int
- func Int(val interface{}) int
- func Int64(val interface{}) int64
- func KeyValue(res map[string]interface{}, key string, arg interface{}) map[string]interface{}
- func Keys(arg ...interface{}) string
- func List(arg ...interface{}) []interface{}
- func MergeURL(str string, arg ...interface{}) string
- func MergeURL2(str string, uri string, arg ...interface{}) string
- func Parse(value interface{}, key string, val ...string) interface{}
- func Path(str string, rest ...string) string
- func Render(str string, arg interface{}) (b []byte, e error)
- func Revert(str []string) []string
- func Right(str string) bool
- func Select(def string, arg ...interface{}) string
- func Short(arg interface{}) interface{}
- func ShortKey(list map[string]interface{}, min int, arg ...interface{}) string
- func Simple(val ...interface{}) []string
- func Split(str string, arg ...string) (res []string)
- func Time(arg ...string) int
- func UnMarshal(data string) interface{}
- func Value(root interface{}, args ...interface{}) interface{}
- func Width(str string, mul int) int
Constants ¶
View Source
const ( MIME_FILE = "application/octet-stream" MIME_JSON = "application/json" MIME_TEXT = "text/plain" MIME_HTML = "text/html" MIME_TABLE = "table" MIME_ORDER = "order" MIME_CHAIN = "chain" MIME_TITLE = "title" MIME_SHELL = "shell" MIME_SPACE = "space" MIME_STORY = "story" MIME_FAVOR = "favor" MIME_SHARE = "share" MIME_MASTER = "master" MIME_MYSELF = "myself" MIME_SERVER = "server" MIME_WORKER = "worker" )
View Source
const ( MDB_SHORT = "short" MDB_DICT = "dict" MDB_META = "meta" MDB_LIST = "list" MDB_HASH = "hash" MDB_STATUS = "status" MDB_EXTRA = "extra" MDB_VALUE = "value" MDB_USER = "user" MDB_SIZE = "size" MDB_FILE = "file" MDB_TEXT = "text" MDB_NAME = "name" MDB_TYPE = "type" MDB_TIME = "time" MDB_KEY = "key" MDB_ID = "id" MDB_INPUT = "_input" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.