helpers

package
v0.0.0-...-cf05431 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadEnv

func LoadEnv()

It takes the current working directory, finds the first occurrence of the string "amuse-finance" in it, and then loads the .env file in that directory

func RespondWithError

func RespondWithError(c *fiber.Ctx, status int, message error) error

It takes a context, a status code, and a message, and returns an error

Types

This section is empty.

Jump to

Keyboard shortcuts

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