Skip to content

Commit

Permalink
Fix docs formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
chokoswitch committed Aug 25, 2023
1 parent a8ec150 commit b171861
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ func main() {

docsHandler, err := docshandler.New(protodocs.NewPlugin(greetconnect.GreetServiceName))
if err != nil {
panic(err)
}
panic(err)
}

// Register the docs handler onto the same mux. It's recommended to give it a prefix.
mux.Handle("/docs/", http.StripPrefix("/docs", docsHandler))
Expand Down Expand Up @@ -74,8 +74,8 @@ func main() {

docsHandler, err := docshandler.New(protodocs.NewPlugin(server))
if err != nil {
panic(err)
}
panic(err)
}

go func() {
http.ListenAndServe(":8081", docsHandler)
Expand Down

0 comments on commit b171861

Please sign in to comment.