✏️ Fix example typo

pull/839/head
hi019 2020-09-27 19:14:02 -04:00
parent 23598b416f
commit 4fbdaa62f9
15 changed files with 15 additions and 15 deletions

2
.github/README.md vendored
View File

@ -173,7 +173,7 @@ func main() {
// GET /api/register
app.Get("/api/*", func(c *fiber.Ctx) error {
msg := fmt.Sprintf("✋ %s", c.Params("*"))
return c.SendString(msg) // => ✋ /api/register
return c.SendString(msg) // => ✋ register
})
log.Fatal(app.Listen(":3000"))

View File

@ -191,7 +191,7 @@ func main() {
// GET /api/register
app.Get("/api/*", func(c *fiber.Ctx) error {
msg := fmt.Sprintf("✋ %s", c.Params("*"))
return c.SendString(msg) // => ✋ /api/register
return c.SendString(msg) // => ✋ register
})
log.Fatal(app.Listen(":3000"))

View File

@ -173,7 +173,7 @@ func main() {
// GET /api/register
app.Get("/api/*", func(c *fiber.Ctx) error {
msg := fmt.Sprintf("✋ %s", c.Params("*"))
return c.SendString(msg) // => ✋ /api/register
return c.SendString(msg) // => ✋ register
})
log.Fatal(app.Listen(":3000"))

View File

@ -173,7 +173,7 @@ func main() {
// GET /api/register
app.Get("/api/*", func(c *fiber.Ctx) error {
msg := fmt.Sprintf("✋ %s", c.Params("*"))
return c.SendString(msg) // => ✋ /api/register
return c.SendString(msg) // => ✋ register
})
log.Fatal(app.Listen(":3000"))

View File

@ -173,7 +173,7 @@ func main() {
// GET /api/register
app.Get("/api/*", func(c *fiber.Ctx) error {
msg := fmt.Sprintf("✋ %s", c.Params("*"))
return c.SendString(msg) // => ✋ /api/register
return c.SendString(msg) // => ✋ register
})
log.Fatal(app.Listen(":3000"))

View File

@ -224,7 +224,7 @@ func main() {
// GET /api/register
app.Get("/api/*", func(c *fiber.Ctx) error {
msg := fmt.Sprintf("✋ %s", c.Params("*"))
return c.SendString(msg) // => ✋ /api/register
return c.SendString(msg) // => ✋ register
})
log.Fatal(app.Listen(":3000"))

View File

@ -175,7 +175,7 @@ func main() {
// GET /api/register
app.Get("/api/*", func(c *fiber.Ctx) error {
msg := fmt.Sprintf("✋ %s", c.Params("*"))
return c.SendString(msg) // => ✋ /api/register
return c.SendString(msg) // => ✋ register
})
log.Fatal(app.Listen(":3000"))

View File

@ -176,7 +176,7 @@ func main() {
// GET /api/register
app.Get("/api/*", func(c *fiber.Ctx) error {
msg := fmt.Sprintf("✋ %s", c.Params("*"))
return c.SendString(msg) // => ✋ /api/register
return c.SendString(msg) // => ✋ register
})
log.Fatal(app.Listen(":3000"))

View File

@ -178,7 +178,7 @@ func main() {
// GET /api/register
app.Get("/api/*", func(c *fiber.Ctx) error {
msg := fmt.Sprintf("✋ %s", c.Params("*"))
return c.SendString(msg) // => ✋ /api/register
return c.SendString(msg) // => ✋ register
})
log.Fatal(app.Listen(":3000"))

View File

@ -177,7 +177,7 @@ func main() {
// GET /api/register
app.Get("/api/*", func(c *fiber.Ctx) error {
msg := fmt.Sprintf("✋ %s", c.Params("*"))
return c.SendString(msg) // => ✋ /api/register
return c.SendString(msg) // => ✋ register
})
log.Fatal(app.Listen(":3000"))

View File

@ -173,7 +173,7 @@ func main() {
// GET /api/register
app.Get("/api/*", func(c *fiber.Ctx) error {
msg := fmt.Sprintf("✋ %s", c.Params("*"))
return c.SendString(msg) // => ✋ /api/register
return c.SendString(msg) // => ✋ register
})
log.Fatal(app.Listen(":3000"))

View File

@ -175,7 +175,7 @@ func main() {
// GET /api/register
app.Get("/api/*", func(c *fiber.Ctx) error {
msg := fmt.Sprintf("✋ %s", c.Params("*"))
return c.SendString(msg) // => ✋ /api/register
return c.SendString(msg) // => ✋ register
})
log.Fatal(app.Listen(":3000"))

View File

@ -171,7 +171,7 @@ func main() {
// GET /api/register
app.Get("/api/*", func(c *fiber.Ctx) error {
msg := fmt.Sprintf("✋ %s", c.Params("*"))
return c.SendString(msg) // => ✋ /api/register
return c.SendString(msg) // => ✋ register
})
log.Fatal(app.Listen(":3000"))

View File

@ -176,7 +176,7 @@ func main() {
// GET /api/register
app.Get("/api/*", func(c *fiber.Ctx) error {
msg := fmt.Sprintf("✋ %s", c.Params("*"))
return c.SendString(msg) // => ✋ /api/register
return c.SendString(msg) // => ✋ register
})
log.Fatal(app.Listen(":3000"))

View File

@ -175,7 +175,7 @@ func main() {
// GET /api/register
app.Get("/api/*", func(c *fiber.Ctx) error {
msg := fmt.Sprintf("✋ %s", c.Params("*"))
return c.SendString(msg) // => ✋ /api/register
return c.SendString(msg) // => ✋ register
})
log.Fatal(app.Listen(":3000"))