We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7193443 commit 05e3316Copy full SHA for 05e3316
.github/workflows/ci.yml
@@ -37,4 +37,7 @@ jobs:
37
run: test -z $(go fmt ./...)
38
39
- name: Install staticcheck
40
- run: go install honnef.co/go/tools/cmd/staticcheck@latest
+ run: go install honnef.co/go/tools/cmd/staticcheck@latest
41
+
42
+ - name: Run staticcheck
43
+ run: staticcheck ./...
main.go
@@ -96,3 +96,8 @@ func main() {
96
log.Printf("Serving on port: %s\n", port)
97
log.Fatal(srv.ListenAndServe())
98
}
99
100
+func unused() {
101
+ // this function does nothing
102
+ // and is called nowhere
103
+}
0 commit comments