Skip to content

Commit 85db187

Browse files
author
Joonas Bergius
committed
chore(templates/component): Add nolint for unused http.Request
Signed-off-by: Joonas Bergius <[email protected]>
1 parent a5c388b commit 85db187

File tree

1 file changed

+1
-0
lines changed
  • templates/component/http-hello-world

1 file changed

+1
-0
lines changed

templates/component/http-hello-world/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ func init() {
1313
wasihttp.HandleFunc(handleRequest)
1414
}
1515

16+
//nolint:revive
1617
func handleRequest(w http.ResponseWriter, r *http.Request) {
1718
_, _ = fmt.Fprintf(w, "Hello from Go!\n")
1819
}

0 commit comments

Comments
 (0)