Skip to content

Generated hyperlinks are not correct #24

@dhruvarora93

Description

@dhruvarora93

I am using the chi middleware and importing it like this:

"github.com/go-chi/chi/v5/middleware"

The hyperlinks for the middleware methods that are being used is not correct. For instance, for the Logger methods the link generated is:

https://github.com/go-chi/chi/blob/master/@v5.0.11/middleware/logger.go#L39

That link does not work and gives a 404. I am also passing a URL map to the method like this but it does not help (maybe I am doing it wrong?)

URLMap: map[string]string{
			"github.com/go-chi/chi/v5": "https://github.com/go-chi/chi/blob/master/",
		},

Any help is appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions