Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 24010b4

Browse files
committed
fix go example indentation
1 parent 674abaa commit 24010b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ func main() {
7676
api := nitric.NewApi("main")
7777

7878
api.Get("/hello/:name", func(ctx *apis.Ctx) {
79-
name := ctx.Request.PathParams()["name"]
80-
ctx.Response.Body = []byte(fmt.Sprintf("Hello %s", name))
81-
})
79+
name := ctx.Request.PathParams()["name"]
80+
ctx.Response.Body = []byte(fmt.Sprintf("Hello %s", name))
81+
})
8282

8383
nitric.Run()
8484
}

0 commit comments

Comments
 (0)