Skip to content

Commit a131c9a

Browse files
committed
chore: no changes to apply
- No changes to summarize (empty diff). Signed-off-by: appleboy <[email protected]>
1 parent b69cacf commit a131c9a

File tree

1 file changed

+9
-9
lines changed
  • src/content/docs/zh-tw/docs/quickstart

1 file changed

+9
-9
lines changed

src/content/docs/zh-tw/docs/quickstart/index.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,19 @@ sidebar:
3333
import "net/http"
3434
```
3535

36-
4. 新增你的專案資料夾並 `cd` 進入
36+
4. 新增你的專案資料夾並 `cd` 進入
3737

3838
```sh
3939
mkdir -p $GOPATH/src/github.com/myusername/project && cd "$_"
4040
```
4141

42-
5. 複製範本到你的專案
42+
5. 複製範本到你的專案
4343

4444
```sh
4545
curl https://raw.githubusercontent.com/gin-gonic/examples/master/basic/main.go > main.go
4646
```
4747

48-
6. 執行你的專案
48+
6. 執行你的專案
4949

5050
```sh
5151
go run main.go
@@ -70,13 +70,13 @@ package main
7070
import "github.com/gin-gonic/gin"
7171
7272
func main() {
73-
router := gin.Default()
74-
router.GET("/ping", func(c *gin.Context) {
75-
c.JSON(200, gin.H{
76-
"message": "pong",
77-
})
73+
router := gin.Default()
74+
router.GET("/ping", func(c *gin.Context) {
75+
c.JSON(200, gin.H{
76+
"message": "pong",
7877
})
79-
router.Run() // listen and serve on 0.0.0.0:8080
78+
})
79+
router.Run() // listen and serve on 0.0.0.0:8080
8080
}
8181
```
8282

0 commit comments

Comments
 (0)