Skip to content

Commit

Permalink
🩹 Fix: Fix Fprintf syntax error in docs/whats_new.md
Browse files Browse the repository at this point in the history
  • Loading branch information
grivera64 committed Nov 26, 2024
1 parent c59764e commit 76dee57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/ctx.md
Original file line number Diff line number Diff line change
Expand Up @@ -1897,7 +1897,7 @@ app.Get("/wait", func(c fiber.Ctx) error {
// Send progress over time
time.Sleep(time.Second)
for i := 0; i < 9; i++ {
fmt.Fprintf("Still waiting...\n")
fmt.Fprintf(w, "Still waiting...\n")
if err := w.Flush(); err != nil {
// If client disconnected, cancel work and finish
log.Print("Client disconnected!")
Expand Down

0 comments on commit 76dee57

Please sign in to comment.