tools

package
v0.0.0-...-48e7155 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CamelToSnake

func CamelToSnake(dest string) string

CamelToSnake 驼峰式字符串转下划线式

func Hash32

func Hash32(source string) string

Hash32 快速获取 32 位hash

func JudgmentEval

func JudgmentEval(first, two string, operator string) bool

JudgmentEval 判断 动态执行

func UnmarshalJsonAndBuildDefault

func UnmarshalJsonAndBuildDefault(in []byte, dest interface{}) error

UnmarshalJsonAndBuildDefault 解析json文件并赋值默认值

func UnmarshalYamlAndBuildDefault

func UnmarshalYamlAndBuildDefault(in []byte, dest interface{}) error

UnmarshalYamlAndBuildDefault 解析yaml文件并赋值默认值

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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