summaryrefslogtreecommitdiff
path: root/scanGoSrc/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-28 00:03:12 -0600
committerJeff Carr <[email protected]>2024-11-28 00:03:12 -0600
commit5a9b953d33cecf13c6ddc0ad002c41d62213b3e1 (patch)
treec2d6fa73d120a1e34e86e1b8c973b3791f8d1d6c /scanGoSrc/main.go
parent9129cfe885281b0f2740d7f93dbb3b4ee5134d59 (diff)
for now, panic here just in case
Diffstat (limited to 'scanGoSrc/main.go')
-rw-r--r--scanGoSrc/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/scanGoSrc/main.go b/scanGoSrc/main.go
index ff24c9c..460a2b5 100644
--- a/scanGoSrc/main.go
+++ b/scanGoSrc/main.go
@@ -26,6 +26,7 @@ func main() {
newr, err := repos.NewGoPath("/home/jcarr/go/src", "go.wit.com/apps/wit-package")
if err != nil {
log.Info("init failed", err)
+ panic("crapnuts")
} else {
log.Info("init worked for", newr.GoPath)
}
@@ -35,6 +36,7 @@ func main() {
log.Info("init failed correctly:", err)
} else {
log.Info("init should have failed for", newr.GoPath)
+ panic("crapnuts")
}
/*