From f7a1de79b1c115bddbf3d323a6fd7786d878efd9 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 24 Oct 2025 13:07:01 -0500 Subject: lame lowercase usage --- theMagicOfAutocomplete.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/theMagicOfAutocomplete.go b/theMagicOfAutocomplete.go index d9ef386..b48d1b9 100644 --- a/theMagicOfAutocomplete.go +++ b/theMagicOfAutocomplete.go @@ -10,9 +10,9 @@ import ( "strings" "time" - "go.wit.com/lib/ENV" "go.wit.com/lib/cobol" "go.wit.com/lib/config" + "go.wit.com/lib/env" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) @@ -36,8 +36,8 @@ func Autocomplete(dest any) *Argv { // parses os.Args into the protobuf me.pb.parseOsArgs() - // initializes the lib/ENV library - ENV.Init(me.pb.AppInfo.APPNAME, me.pb.AppInfo.VERSION, cobol.Time(me.pb.AppInfo.BUILDTIME), me.pb.Real, GoodExit, BadExit) + // initializes the lib/env library + env.Init(me.pb.AppInfo.APPNAME, me.pb.AppInfo.VERSION, cobol.Time(me.pb.AppInfo.BUILDTIME), me.pb.Real, GoodExit, BadExit) // loads the argv autocomplete history file all := NewArgvs() @@ -69,10 +69,10 @@ func Autocomplete(dest any) *Argv { os.Exit(0) } - ENV.SetGlobal("argv", "real", fmt.Sprintf("%v", me.pb.Real)) + env.SetGlobal("argv", "real", fmt.Sprintf("%v", me.pb.Real)) for _, a := range me.pb.Real { if strings.HasPrefix(a, "--") { - ENV.SetGlobal("argv", a, "true") + env.SetGlobal("argv", a, "true") } } -- cgit v1.2.3