MCPcopy Create free account

hub / github.com/chanxuehong/util / functions

Functions199 in github.com/chanxuehong/util

MethodMarshalXML
MarshalXML 将 Money 编码成 xxxx.yz 这样以 '元' 为单位的字符串.
money/money.go:116
MethodMarshalXML
MarshalXML 将 Money2 编码成 xxxx.yz 这样以 '元' 为单位的字符串.
money/money2.go:73
FunctionMax
(x, y int64)
math/compare.go:10
FunctionMin
(x, y int64)
math/compare.go:3
FunctionPaginator0Ex
获取分页编号序列, 页码从 0 开始, 序列中非负整数表示页码, -1 表示省略, 如 [0,1,-1,8,9,10,11,12,-1,15,16] 表示 0,1,...,8,9,10,11,12,...,15,16 totalItemNum: 总的记录数量, 不是页面数量, 非负整数 pa
paginator.go:125
FunctionPaginator1Ex
获取分页编号序列, 页码从 1 开始, 序列中正整数表示页码, -1 表示省略, 如 [1,2,-1,8,9,10,11,12,-1,15,16] 表示 1,2,...,8,9,10,11,12,...,15,16 totalItemNum: 总的记录数量, 不是页面数量, 非负整数 pag
paginator.go:150
FunctionParseQuery
ParseQuery parses the URL-encoded query string and returns a map listing the values specified for each key. ParseQuery always returns a non-nil map co
url/values.go:18
MethodScan
Scan implements the sql.Scanner interface.
money/null_money.go:20
MethodScan
Scan 实现了 sql.Scanner 接口, 将 decimal(.2) 字段解码到 Money2 中.
money/money2.go:44
MethodScan
Scan implements the sql.Scanner interface.
money/null_money2.go:20
FunctionSecureCompare
(given, actual []byte)
security/compare.go:7
FunctionSecureCompareString
(given, actual string)
security/compare.go:21
MethodServeHTTP
(w http.ResponseWriter, r *http.Request)
http/timeout_handler.go:74
MethodSet
Set sets the key to value. It replaces any existing values.
url/values.go:46
FunctionString
String is a helper routine that allocates a new string value to store v and returns a pointer to it.
helper.go:53
FunctionTestBool_CompareAndSwap
(t *testing.T)
atomic/bool_test.go:86
FunctionTestBool_Store_Load
(t *testing.T)
atomic/bool_test.go:8
FunctionTestBool_Swap
(t *testing.T)
atomic/bool_test.go:38
FunctionTestBool_UnmarshalJSON
(t *testing.T)
json/bool_test.go:8
FunctionTestCompare
(t *testing.T)
version/compare_test.go:5
FunctionTestCompare
(t *testing.T)
version.4part/compare_test.go:5
FunctionTestDecodeXMLToMap
(t *testing.T)
xml_test.go:9
FunctionTestEncodeQuery
(t *testing.T)
url/values_test.go:39
FunctionTestFloat32_MarshalJSON
(t *testing.T)
json/float32_test.go:10
FunctionTestFloat32_UnmarshalJSON
(t *testing.T)
json/float32_test.go:25
FunctionTestFloat64_MarshalJSON
(t *testing.T)
json/float64_test.go:10
FunctionTestFloat64_UnmarshalJSON
(t *testing.T)
json/float64_test.go:25
FunctionTestFromStdBoolSlice
(t *testing.T)
json/helper_test.go:473
FunctionTestFromStdFloat64Slice
(t *testing.T)
json/helper_test.go:411
FunctionTestFromStdInt32Slice
(t *testing.T)
json/helper_test.go:163
FunctionTestFromStdInt64Slice
(t *testing.T)
json/helper_test.go:225
FunctionTestFromStdIntSlice
(t *testing.T)
json/helper_test.go:39
FunctionTestFromStdUint32Slice
(t *testing.T)
json/helper_test.go:287
FunctionTestFromStdUint64Slice
(t *testing.T)
json/helper_test.go:349
FunctionTestFromStdUintSlice
(t *testing.T)
json/helper_test.go:101
FunctionTestInt32_MarshalJSON
(t *testing.T)
json/int32_test.go:10
FunctionTestInt32_UnmarshalJSON
(t *testing.T)
json/int32_test.go:25
FunctionTestInt64_MarshalJSON
(t *testing.T)
json/int64_test.go:10
FunctionTestInt64_UnmarshalJSON
(t *testing.T)
json/int64_test.go:25
FunctionTestInt_MarshalJSON
(t *testing.T)
json/int_json_test.go:11
FunctionTestInt_UnmarshalJSON
(t *testing.T)
json/int_json_test.go:32
FunctionTestMoneyMarshalJSON
TestMoneyMarshalJSON also test String and MarshalText
money/money_test.go:10
FunctionTestMoneyMarshalXML
(t *testing.T)
money/money_test.go:46
FunctionTestMoneyUnmarshalJSON
TestMoneyUnmarshalJSON also test UnmarshalText
money/money_test.go:83
FunctionTestMoneyUnmarshalXML
(t *testing.T)
money/money_test.go:133
FunctionTestNew
(t *testing.T)
version/version_test.go:5
FunctionTestNew
(t *testing.T)
version.4part/version_test.go:5
FunctionTestNewRoundRobinIndex
(t *testing.T)
round_robin_test.go:8
FunctionTestPaginator0
(t *testing.T)
paginator_test.go:8
FunctionTestParse
(t *testing.T)
version/version_test.go:24
FunctionTestParse
(t *testing.T)
version.4part/version_test.go:24
FunctionTestQueryEscape
(t *testing.T)
url/url_test.go:9
FunctionTestQueryUnescape
(t *testing.T)
url/url_test.go:32
FunctionTestString
(t *testing.T)
version/version_test.go:14
FunctionTestString
(t *testing.T)
version.4part/version_test.go:14
FunctionTestToStdBoolSlice
(t *testing.T)
json/helper_test.go:442
FunctionTestToStdFloat64Slice
(t *testing.T)
json/helper_test.go:380
FunctionTestToStdInt32Slice
(t *testing.T)
json/helper_test.go:132
FunctionTestToStdInt64Slice
(t *testing.T)
json/helper_test.go:194
FunctionTestToStdIntSlice
(t *testing.T)
json/helper_test.go:8
FunctionTestToStdUint32Slice
(t *testing.T)
json/helper_test.go:256
FunctionTestToStdUint64Slice
(t *testing.T)
json/helper_test.go:318
FunctionTestToStdUintSlice
(t *testing.T)
json/helper_test.go:70
FunctionTestTrimSpace
(t *testing.T)
trim_test.go:8
FunctionTestUint32_MarshalJSON
(t *testing.T)
json/uint32_test.go:10
FunctionTestUint32_UnmarshalJSON
(t *testing.T)
json/uint32_test.go:25
FunctionTestUint64_MarshalJSON
(t *testing.T)
json/uint64_test.go:10
FunctionTestUint64_UnmarshalJSON
(t *testing.T)
json/uint64_test.go:25
FunctionTestUint_MarshalJSON
(t *testing.T)
json/uint_json_test.go:11
FunctionTestUint_UnmarshalJSON
(t *testing.T)
json/uint_json_test.go:32
MethodText
Text 将 Money 编码成 xxxx.yz 这样以 '元' 为单位的字符串.
money/money.go:32
MethodText
Text 将 Money2 编码成 xxxx.yz 这样以 '元' 为单位的字符串.
money/money2.go:58
FunctionTimeoutHandler
TimeoutHandler returns a http.Handler that runs h with the given time limit. The new http.Handler calls h.ServeHTTP to handle each request, but if a
http/timeout_handler.go:36
FunctionUint32
Uint32 is a helper routine that allocates a new uint32 value to store v and returns a pointer to it.
helper.go:41
FunctionUint64
Uint64 is a helper routine that allocates a new uint64 value to store v and returns a pointer to it.
helper.go:47
MethodUnmarshalJSON
UnmarshalJSON 实现了 json.Unmarshaler
json/bool.go:23
MethodUnmarshalJSON
UnmarshalJSON 实现了 json.Unmarshaler
json/int64.go:21
MethodUnmarshalJSON
UnmarshalJSON 实现了 json.Unmarshaler
json/float64.go:33
MethodUnmarshalJSON
UnmarshalJSON 实现了 json.Unmarshaler
json/uint64.go:21
MethodUnmarshalJSON
UnmarshalJSON 实现了 json.Unmarshaler
json/uint_json.go:22
MethodUnmarshalJSON
UnmarshalJSON 实现了 json.Unmarshaler
json/float32.go:33
MethodUnmarshalJSON
UnmarshalJSON 实现了 json.Unmarshaler
json/uint32.go:21
MethodUnmarshalJSON
UnmarshalJSON 实现了 json.Unmarshaler
json/int32.go:21
MethodUnmarshalJSON
UnmarshalJSON 实现了 json.Unmarshaler
json/int_json.go:22
MethodUnmarshalJSON
UnmarshalJSON 将 "xxxx.yz" 这样以 '元' 为单位的字符串解码到 Money 中.
money/money.go:162
MethodUnmarshalJSON
UnmarshalJSON 将 "xxxx.yz" 这样以 '元' 为单位的字符串解码到 Money2 中.
money/money2.go:88
MethodUnmarshalTextString
UnmarshalTextString 将 xxxx.yz 这样以 '元' 为单位的字符串解码到 Money2 中.
money/money2.go:83
MethodUnmarshalXML
UnmarshalXML 将 xxxx.yz 这样以 '元' 为单位的字符串解码到 Money 中.
money/money.go:171
MethodUnmarshalXML
UnmarshalXML 将 xxxx.yz 这样以 '元' 为单位的字符串解码到 Money2 中.
money/money2.go:93
MethodValue
Value implements the driver.Valuer interface.
money/null_money.go:29
MethodValue
Value 实现了 driver.Valuer 接口, 将 Money2 编码成 decimal(.2) 格式.
money/money2.go:39
MethodValue
Value implements the driver.Valuer interface.
money/null_money2.go:30
Functioninit
()
http/client.go:10
FunctionrawCSS
(text string)
funcmap/funcmap.go:16
FunctionrawHTML
(text string)
funcmap/funcmap.go:8
FunctionrawHTMLAttr
(text string)
funcmap/funcmap.go:12
FunctionrawJS
(text string)
funcmap/funcmap.go:20
FunctionrawJSStr
(text string)
funcmap/funcmap.go:24
FunctionrawURL
(text string)
funcmap/funcmap.go:28
← previous101–199 of 199, ranked by callers