diff options
author | Franck Cuny <franck@fcuny.net> | 2024-03-10 09:35:50 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-03-10 09:35:50 -0700 |
commit | 3218a873291aa202dc66e3124e3b13e3d7f41966 (patch) | |
tree | b981d59661b6813cc719298fcb8ae91d99319f5f /packages/numap/numap.go | |
parent | install the zed editor (diff) | |
download | world-3218a873291aa202dc66e3124e3b13e3d7f41966.tar.gz |
delete a bunch of stuff
Diffstat (limited to 'packages/numap/numap.go')
-rw-r--r-- | packages/numap/numap.go | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/packages/numap/numap.go b/packages/numap/numap.go deleted file mode 100644 index c65f1f0..0000000 --- a/packages/numap/numap.go +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "encoding/json" - "fmt" - "os" - - "golang.fcuny.net/numap/internal/hwids" -) - -func main() { - hwdb, err := hwids.Load() - if err != nil { - fmt.Println(err) - os.Exit(1) - } - - nodes, err := findNodes(hwdb) - if err != nil { - fmt.Println(err) - os.Exit(1) - } - - out, err := json.Marshal(nodes) - if err != nil { - fmt.Println(err) - os.Exit(1) - } - - fmt.Println(string(out)) -} |