Skip to content

Commit

Permalink
appease linter
Browse files Browse the repository at this point in the history
  • Loading branch information
bobzilladev committed Apr 8, 2024
1 parent 056ab25 commit c127d32
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/fasthttp/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ func run(ctx context.Context) error {
fmt.Fprintf(ctx, "Hello! You're requesting %q", ctx.RequestURI())
}

serv.Serve(tun)
err = serv.Serve(tun)
if err != nil {
return err
}

return nil
}

0 comments on commit c127d32

Please sign in to comment.