loader

package module
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package loader is a simplified env loader.

It does not support fancy stuffs other library gives. It's only meant for testing purposes.

It also ignores errors from OS related APIs (although printed), like permissions. So do not use for live runtime environment.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadEnv

func LoadEnv()

LoadEnv Search current directory and it's children and search for `.env` files then loads the environment variables inside.

It ignores errors from OS related APIs (although printed), like permissions. So do not use for live runtime environment.

Types

This section is empty.

Jump to

Keyboard shortcuts

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