diff options
author | Přemysl Janouch <p@janouch.name> | 2019-04-13 05:38:58 +0200 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2019-04-13 05:38:58 +0200 |
commit | 3fe6d7d071a41674f1b392d54c60ba1fed686c53 (patch) | |
tree | e66cefbdc24939e7a39705c143092763bb47e6cf | |
parent | fd347fa1eb25861fecc3a0d26b0a23ebc196a663 (diff) | |
download | sklad-3fe6d7d071a41674f1b392d54c60ba1fed686c53.tar.gz sklad-3fe6d7d071a41674f1b392d54c60ba1fed686c53.tar.xz sklad-3fe6d7d071a41674f1b392d54c60ba1fed686c53.zip |
label-tool: cleanup
-rw-r--r-- | label-tool/main.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/label-tool/main.go b/label-tool/main.go index a51a4c8..1d25b1b 100644 --- a/label-tool/main.go +++ b/label-tool/main.go @@ -217,10 +217,10 @@ func main() { log.Fatalf("usage: %s ADDRESS BDF-FILE\n", os.Args[0]) } - address, bdf_path := os.Args[1], os.Args[2] + address, bdfPath := os.Args[1], os.Args[2] var err error - fi, err := os.Open(bdf_path) + fi, err := os.Open(bdfPath) if err != nil { log.Fatalln(err) } @@ -235,5 +235,5 @@ func main() { log.Println("starting server") http.HandleFunc("/", handle) - log.Fatal(http.ListenAndServe(address, nil)) + log.Fatalln(http.ListenAndServe(address, nil)) } |