diff options
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/structs.go b/structs.go new file mode 100644 index 0000000..89c5177 --- /dev/null +++ b/structs.go @@ -0,0 +1,20 @@ +package ENV + +import ( + "errors" + sync "sync" +) + +var envPB *Keys + +// lock access to the PB +var saveMu sync.RWMutex + +// these are normally what are sent from ldflags +var APPNAME string +var BUILDTIME string +var VERSION string + +var argv []string + +var NotInitialized error = errors.New("your application config not initialized") |
