util

package
Version: v0.0.0-...-8d6dda1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash

func Hash(pass string) (string, error)

加密密码

func InIntArray

func InIntArray(v int, sl []int) bool

InIntArray 判断是否在int数组中

func JsonMarshal

func JsonMarshal(d interface{}) string

func Verify

func Verify(hashing string, pass string) error

校验密码是否有效

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL