argsutil

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NULL      = "null"      //nil null
	BOOL      = "bool"      //bool
	INT       = "int"       //int32
	SHORT     = "int32"     //int
	LONG      = "long"      //long64
	FLOAT     = "float"     //float32
	DOUBLE    = "double"    //float64
	BYTES     = "bytes"     //[]byte
	STRING    = "string"    //string
	MAP       = "map"       //map[string]interface{}
	MAPSTR    = "mapstr"    //map[string]string{}
	Interface = "interface" // interface

)

Functions

func ArgsTypeAnd2Bytes

func ArgsTypeAnd2Bytes(app module.App, arg interface{}) (string, []byte, error)

func Bytes2Args

func Bytes2Args(app module.App, argsType string, args []byte) (interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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