summaryrefslogtreecommitdiff
path: root/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'interface.go')
-rw-r--r--interface.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/interface.go b/interface.go
index 8363a63..5873c0e 100644
--- a/interface.go
+++ b/interface.go
@@ -64,6 +64,8 @@ func findAppInfo(tmp interface{}) {
if tmp, ok := tmp.(guiI); ok {
myAuto.guiFunc = tmp.ArgvGui
+ } else {
+ panic("you must add this function to argv.go: (argv) func ArgvGui() error")
}
if tmp, ok := tmp.(autoFuncI); ok {