util

package
v0.0.0-...-3b5883b Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEmpty

func IsEmpty(str string) bool

func LoadEnvMongoDB

func LoadEnvMongoDB(envFile string) (string, string, string)

Load MongoDB env variable

func RequestGetBody

func RequestGetBody(url string, timeDurationSeconds int) []byte

get GET request body by a url

func UnmarshalJson

func UnmarshalJson[T any](body []byte) (T, error)

func UnmarshalXml

func UnmarshalXml[T any](body []byte) (T, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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