gofiber/template

๐Ÿ› [Bug]: v1.8.2 appears to be missing github.com/gofiber/template/html

Closed this issue ยท 2 comments

Bug Description

Using the latest released version (v1.8.2) for "github.com/gofiber/template/html" results in the below error:
github.com/gofiber/template/html: module github.com/gofiber/template@latest found (v1.8.2), but does not contain package github.com/gofiber/template/html

v.1.8.1 is just fine. Haven't investigated further into the changelogs to understand the cause but I don't believe this is expected?

How to Reproduce

Steps to reproduce the behavior:

  1. Create a new project that uses "github.com/gofiber/template/html"
  2. Or update an existing one to v.1.8.2
  3. Run "go mod tidy"

Expected Behavior

go mod tidy should succeed.

Template package Version

v.1.8.2

Code Snippet (optional)

No response

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.
efectn commented

Use github.com/gofiber/template/html/v2 instead

Thanks a lot! That worked. Sorry if I missed some documentation regarding this change.