We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8370fc2 commit 0baede2Copy full SHA for 0baede2
1 file changed
cmd/golang-docker-build-tutorial/main.go
@@ -51,5 +51,8 @@ func (s *Server) MountHandlers() {
51
func main() {
52
s := CreateNewServer()
53
s.MountHandlers()
54
- _ = http.ListenAndServe(":8123", s.Router)
+ err := http.ListenAndServe(":8123", s.Router)
55
+ if err != nil {
56
+ panic(err)
57
+ }
58
}
0 commit comments