-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove the custom stacktraces from the example
To avoid exposing the "internal" part of the stacktraces and to keep the example simpler, we'll just use the default %+v format output.
- Loading branch information
1 parent
e6d656d
commit 84c038e
Showing
3 changed files
with
14 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,5 +81,6 @@ func main() { | |
r.Get("/", GetUser) | ||
}) | ||
|
||
fmt.Printf("Listening on :3333 ...\n") | ||
http.ListenAndServe(":3333", r) | ||
} |