zck

package
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CKV

func CKV(str string, rule map[string]CBVAL, c *app.RequestContext) (map[string]interface{}, error)

func KV

func KV(str string, src map[string]interface{}) map[string]interface{}

func ToWH

func ToWH(str string, c *app.RequestContext) map[string]WHVAL

Types

type CBVAL

type CBVAL struct {
	Rule    string
	Msg     string
	Default interface{}
}

type WHVAL

type WHVAL struct {
	Op    string
	Value interface{}
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL