utils

package
v0.0.0-...-6781889 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ElemTo

func ElemTo(v interface{}) reflect.Type

获取struct或Ptr对应的类型

func ReadAllLines

func ReadAllLines(filePath string) ([]string, error)

func Type

func Type[T interface{}]() reflect.Type

func Uncompress

func Uncompress(tarPath string, dest string) error

func ViperBind

func ViperBind(key string, dest interface{})

func ViperBindKey

func ViperBindKey(v *viper.Viper, key string, dest interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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