From 660620c105f1a0a7d5e95ab6e2d4dc10113fd249 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 14 Oct 2025 00:16:26 -0500 Subject: changes for new lib/config function names --- interface.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'interface.go') diff --git a/interface.go b/interface.go index 1439ec4..24f61c3 100644 --- a/interface.go +++ b/interface.go @@ -47,13 +47,14 @@ type exitI interface { // Described is the interface that the destination struct should implement to func findAppInfo(tmp interface{}) { if tmp, ok := tmp.(appnameI); ok { - myAuto.appName = tmp.Appname() + myAuto.ARGNAME = tmp.Appname() } else { panic("you must define in your app the function: (argv) func Appname() string") } if tmp, ok := tmp.(buildtimeI); ok { myAuto.buildtime = tmp.Buildtime + myAuto.BUILDTIME, myAuto.VERSION = myAuto.buildtime() } else { // panic("your app is missing (argv) func Buildtime() (string, string)") } -- cgit v1.2.3