Skip to content

Commit

Permalink
linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
temur committed Mar 6, 2021
1 parent 0edef19 commit 6bdc2d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions graceful-shutdown/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import (
"time"
)

const IdleTimeout = 5 * time.Second
const idleTimeout = 5 * time.Second

func main() {
app := fiber.New(fiber.Config{
IdleTimeout: IdleTimeout,
IdleTimeout: idleTimeout,
})

app.Get("/", func(c *fiber.Ctx) error {
Expand Down

0 comments on commit 6bdc2d4

Please sign in to comment.