Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy committed Jun 22, 2021
1 parent 66463c9 commit 532e5b6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ func DefaultConfig() Config {
package main

import (
"log"

"github.com/gin-contrib/secure"
"github.com/gin-gonic/gin"
)
Expand Down Expand Up @@ -63,6 +65,8 @@ func main() {
})

// Listen and Server in 0.0.0.0:8080
router.Run()
if err := router.Run(); err != nil {
log.Fatal(err)
}
}
```

0 comments on commit 532e5b6

Please sign in to comment.