tools

package module
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: BSD-2-Clause Imports: 9 Imported by: 3

README

自用的golang工具包

有空再写README

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatStr

func FormatStr(jsonstr string) map[string]string

func GetConfig

func GetConfig(path string) (ConfigMap map[string]string, err error)

func GetHeader

func GetHeader(header string) http.Header

func GetUUID

func GetUUID() string

func IsExists added in v0.1.8

func IsExists(path string) bool

func Re

func Re(Str string, str string) []string

func RequestClient

func RequestClient(URL string, METHOD string, HEADER string, DATA string) string

func WriteFile

func WriteFile(name string, str string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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