aboutsummaryrefslogtreecommitdiff
path: root/label-tool
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2019-04-13 05:38:58 +0200
committerPřemysl Janouch <p@janouch.name>2019-04-13 05:38:58 +0200
commit3fe6d7d071a41674f1b392d54c60ba1fed686c53 (patch)
treee66cefbdc24939e7a39705c143092763bb47e6cf /label-tool
parentfd347fa1eb25861fecc3a0d26b0a23ebc196a663 (diff)
downloadsklad-3fe6d7d071a41674f1b392d54c60ba1fed686c53.tar.gz
sklad-3fe6d7d071a41674f1b392d54c60ba1fed686c53.tar.xz
sklad-3fe6d7d071a41674f1b392d54c60ba1fed686c53.zip
label-tool: cleanup
Diffstat (limited to 'label-tool')
-rw-r--r--label-tool/main.go6
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))
}