Update README.md

pull/157/head
Vic Shóstak 2020-02-19 18:07:30 +03:00 committed by GitHub
parent acf6d42c9c
commit 54f28039b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

5
.github/README.md vendored
View File

@ -208,9 +208,11 @@ func main() {
app := fiber.New()
app.Static("/public")
app.Get("/demo", func(c *fiber.Ctx) {
c.Send("This is a demo!")
})
app.Post("/register", func(c *fiber.Ctx) {
c.Send("Welcome!")
})
@ -245,8 +247,7 @@ func main() {
}
```
### Recover from panic
### Recover from `panic`
```go
func main() {