repositorypackage
0.0.0-20150714235706-f2c705372f14
Repository: https://github.com/mattaitchison/bashenv.git
Documentation: pkg.go.dev
# 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