util

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnv

func GetEnv(key, defaultValue string) string

GetEnv returns the value of the environment variable or the default value if not set

func LoadEnv

func LoadEnv()

LoadEnv loads environment variables from .env file if it exists

func MergeJSONData

func MergeJSONData(target interface{}, data map[string]interface{})

MergeJSONData merges JSON data into a struct

Types

This section is empty.

Jump to

Keyboard shortcuts

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