Merge pull request #839 from hi019/master

✏️ Fix example typo
pull/842/head
Fenny 2020-09-28 01:17:23 +02:00 committed by GitHub
commit e6e137e120
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"))