From edc3ca48ae9ebc59d95f1674e32ddc83c0837b18 Mon Sep 17 00:00:00 2001 From: "Paul R. Tagliamonte" Date: Sat, 9 Nov 2019 20:05:59 -0500 Subject: [PATCH] add package --- main.go | 3 ++- packages.json | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index a31d208..f72e875 100644 --- a/main.go +++ b/main.go @@ -7,6 +7,7 @@ import ( "html/template" "io" "io/ioutil" + "log" "os" "path" ) @@ -46,7 +47,7 @@ func loadConfig() (ret []Package, err error) { func main() { packages, err := loadConfig() if err != nil { - fmt.Errorf("%s\n", err) + log.Fatalf("%s\n", err) return } diff --git a/packages.json b/packages.json index 9f98819..4a16ac1 100644 --- a/packages.json +++ b/packages.json @@ -290,7 +290,12 @@ "Repo": "https://github.com/paultag/go-ais", "Url": "https://github.com/paultag/go-ais" }, - + { + "Packages": [], + "Path": "/go/diskring", + "Repo": "https://github.com/paultag/go-diskring", + "Url": "https://github.com/paultag/go-diskring" + }, { "Packages": [], "Path": "/go/rf",