package
module
Version:
v0.3.1
Opens a new window with list of versions in this module.
Published: Jan 13, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func CKV(str string, rule map[string]CBVAL, c *app.RequestContext) (map[string]interface{}, error)
-
func Exec(fname string)
-
func KV(str string, src map[string]interface{}) map[string]interface{}
-
func MD5(str string) string
-
func MapMerge(src *map[string]interface{}, dst map[string]interface{})
-
func RandStr(len int, mask int) string
-
func RetMsg(c *app.RequestContext, status int, msg string, data interface{}, log ...string)
-
func ToWH(str string, c *app.RequestContext) map[string]WHVAL
-
type CBVAL
-
type H
-
type WHVAL
func MapMerge(src *map[string]interface{}, dst map[string]interface{})
type CBVAL struct {
Rule string
Msg string
Default interface{}
}
type WHVAL struct {
Op string
Value interface{}
}
Source Files
¶
Directories
¶
lib
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.