diff options
author | bpc2003 <wpesfriendnva@gmail.com> | 2025-05-27 13:16:32 -0400 |
---|---|---|
committer | bpc2003 <wpesfriendnva@gmail.com> | 2025-05-27 13:16:32 -0400 |
commit | 54545ca337ee803ceb7d7e25a05e929dca2cd856 (patch) | |
tree | f528d3d30335fbc00f8a5e6b0d2949f12b3d39e9 /global/global.go | |
parent | 0d174f9cf1f1e3aab6ca809c175027516645d05e (diff) |
Diffstat (limited to 'global/global.go')
-rw-r--r-- | global/global.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/global/global.go b/global/global.go index 708f05a..e7d8d79 100644 --- a/global/global.go +++ b/global/global.go @@ -5,12 +5,15 @@ import ( "strings" ) -var Options []string + var ReturnCode int var Paths []string +var Options []string +var Traps map[os.Signal]string func init() { - Options = make([]string, 0) ReturnCode = 0 + Options = make([]string, 0) + Traps = make(map[os.Signal]string) Paths = strings.Split(os.Getenv("PATH"), ":") } |