summaryrefslogtreecommitdiff
path: root/debugger.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-25 14:26:00 -0500
committerJeff Carr <[email protected]>2025-09-25 14:26:00 -0500
commit75e00bb33e47dec3372879866494f4e6cdc8f545 (patch)
treecdf230f189f0de40e889be909cac6dcbbb5de714 /debugger.go
parent0f8eaec720a5a98d84242b431537dcc4c190c974 (diff)
more argv improvementsv0.0.16v0.0.15v0.0.14
Diffstat (limited to 'debugger.go')
-rw-r--r--debugger.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/debugger.go b/debugger.go
index 5fe28f9..238580f 100644
--- a/debugger.go
+++ b/debugger.go
@@ -66,18 +66,18 @@ func findAppInfo(tmp interface{}) {
if tmp, ok := tmp.(Appnamed); ok {
myAuto.appName = tmp.Appname()
} else {
- panic("you need to make the function argv.Appname()")
+ panic("you must define in your app the function: (argv) func Appname() string")
}
if tmp, ok := tmp.(Examplesd); ok {
myAuto.examples = tmp.Examples
} else {
- panic("you need to make the function argv.Appname()")
+ // panic("you need to make the function argv.Appname()")
}
if tmp, ok := tmp.(AutoFuncd); ok {
myAuto.autoFunc = tmp.DoAutoComplete
} else {
- panic("you need to make the function argv.DoAutoComplete()")
+ // panic("you need to make the function argv.DoAutoComplete()")
}
}