bashenv

package module
v0.0.0-...-f2c7053 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2015 License: MIT Imports: 5 Imported by: 2

README

bashenv

Simple pkg to source a bash profile in go.

example.sh:

export STR="Hello World!"

example usage

bashenv.Source("example.sh")

// The following will return "Hello World!"
os.Getenv("STR")

License

MIT

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Source

func Source(filepath string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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