util

package
v0.0.0-...-764ed56 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCode

func GenerateCode() string

GenerateCode generate one time code

func Hash

func Hash(v interface{}) []byte

Hash calculate value hash

func Hash58

func Hash58(v interface{}) string

func Hash64

func Hash64(v interface{}) string

func HashHex

func HashHex(v interface{}) string

func Lookup

func Lookup(name string, context ...interface{}) (interface{}, bool)

Lookup lookup value from interface

func Match

func Match(name string, context interface{}, value interface{}) bool

Match check if value is match with given context and path

Types

This section is empty.

Jump to

Keyboard shortcuts

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