Skip to content

🐛 [Bug]: incorrect Go code in the documentation #4094

@selamba

Description

@selamba

Bug Description

Image

This is invalid Go code that doesn't compile.

How to Reproduce

Go to https://docs.gofiber.io/whats_new/#middleware-registration and open the example. it's invalid Go code.

Expected Behavior

Example code should be valid Go code.

Fiber Version

V3.x

Code Snippet (optional)

Checklist:

  • I agree to follow Fiber's Code of Conduct.
  • I have checked for existing issues that describe my problem prior to opening this one.
  • I understand that improperly formatted bug reports may be closed without explanation.

Metadata

Metadata

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions