env

package
v0.0.0-...-e6aabf1 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindEnv

func FindEnv(path string) []string

FindEnv from path, currently get env from *.go files

func GetEnv

func GetEnv(b []byte, lang Lang) (records []string)

GetEnv from given []bytes value

func GetEnvStruct

func GetEnvStruct(b []byte) (records []string)

GetEnvStruct fetch env from tag struct

Types

type Lang

type Lang byte

Lang is type holder for programming language type

const (
	// Go programming language
	Go Lang = iota
	// Ruby programming language
	Ruby
)

Jump to

Keyboard shortcuts

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