Skip to content

Commit a5e6198

Browse files
committed
Rename project: go-practice -> fiber-practice
1 parent 1da8d39 commit a5e6198

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/go-practice
1+
/fiber-practice

README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
Go Practice
1+
fiber-practice
22
========
33

44
```shell
5-
go get -d
65
go build
7-
./go-practice
6+
./fiber-practice
87
```

main.go

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ import (
77
)
88

99
func main() {
10-
app := fiber.New()
10+
// Fiber instance with Prefork enabled
11+
app := fiber.New(fiber.Config{
12+
Prefork: true,
13+
})
1114

1215
app.Get("/", func(c *fiber.Ctx) error {
1316
return c.SendString("Hello, World!")

0 commit comments

Comments
 (0)