utils

package
v0.0.0-...-4288ce0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseTemplate

func ParseTemplate(file string, data interface{}) (string, error)

func WriteErrorResp

func WriteErrorResp(err string, status int, path string, w http.ResponseWriter)

func WriteResp

func WriteResp(resp any, statusCode int, w http.ResponseWriter)

Types

This section is empty.

Jump to

Keyboard shortcuts

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