utils

package
v0.0.0-...-2068963 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnv

func GetEnv(key string) string

func ParseJSON

func ParseJSON(r *http.Request, i interface{}) error

func WriteError

func WriteError(w http.ResponseWriter, status int, err error)

func WriteJSON

func WriteJSON(w http.ResponseWriter, status int, i interface{}) error

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