Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
maxence-charriere committed Sep 22, 2021
1 parent 4d2845c commit d167086
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ Apps created with go-app complies with [Go standard HTTP](https://golang.org/pkg

```go
func main() {
// Components routing:
// Components routing:
app.Route("/", &hello{})
app.Route("/hello", &hello{})
app.RunWhenOnBrowser()

// HTTP routing:
// HTTP routing:
http.Handle("/", &app.Handler{
Name: "Hello",
Description: "An Hello World! example",
Expand Down

0 comments on commit d167086

Please sign in to comment.