*: enable nogo (go linter)
Also fix a bunch of small issues in our codebase, whoops.
This is ran automatically on `bazel build`.
Change-Id: If49ba956b4e2380344a765c30cd84ab760fc4c68
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1849
Reviewed-by: palid <palid@hackerspace.pl>
diff --git a/WORKSPACE b/WORKSPACE
index df0b269..73c9828 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -119,7 +119,7 @@
go_rules_dependencies()
-go_register_toolchains(go_version = "1.20.5")
+go_register_toolchains(go_version = "1.20.5", nogo = "@//:nogo")
http_archive(
name = "com_github_grpc_grpc",