data

package
v0.0.0-...-59e6379 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJsonValue

func GetJsonValue(data, path string) string

func GetMap

func GetMap(i interface{}) (string, map[string]interface{})

func GetMapAsJson

func GetMapAsJson(i interface{}) (string, map[string]interface{})

func GetPrimaryKey

func GetPrimaryKey(i interface{}) map[string]interface{}

primarykey is tag:pk, i should be pointer

func GetTag

func GetTag(i interface{}, tag string) (string, string)

get tag from single field

func GetTypeName

func GetTypeName(i interface{}) string

func Int64TryParse

func Int64TryParse(s string) (n int64, b bool)

func IntTryParse

func IntTryParse(s string) (n int, b bool)

func NewGuid

func NewGuid() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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