[GH-ISSUE #528] Module path should be canonical #318

Closed
opened 2026-02-25 22:33:05 +03:00 by kerem · 2 comments
Owner

Originally created by @jmooring on GitHub (Jun 2, 2023).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/528

See https://go.dev/ref/mod#module-path.

Current:

module filippo.io/mkcert

Should be:

module github.com/FiloSottile/mkcert

Why?

$ go install github.com/FiloSottile/mkcert@latest
go: github.com/FiloSottile/mkcert@latest: github.com/FiloSottile/mkcert@v1.4.4: parsing go.mod:
	module declares its path as: filippo.io/mkcert
	        but was required as: github.com/FiloSottile/mkcert

Yes, I know I can install with go install filippo.io/mkcert@latest, but that was not what I expected based on my experience installing other Go programs.

Originally created by @jmooring on GitHub (Jun 2, 2023). Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/528 See <https://go.dev/ref/mod#module-path>. Current: ```text module filippo.io/mkcert ``` Should be: ```text module github.com/FiloSottile/mkcert ``` Why? ```text $ go install github.com/FiloSottile/mkcert@latest go: github.com/FiloSottile/mkcert@latest: github.com/FiloSottile/mkcert@v1.4.4: parsing go.mod: module declares its path as: filippo.io/mkcert but was required as: github.com/FiloSottile/mkcert ``` Yes, I know I can install with `go install filippo.io/mkcert@latest`, but that was not what I expected based on my experience installing other Go programs.
kerem closed this issue 2026-02-25 22:33:05 +03:00
Author
Owner

@bep commented on GitHub (Jun 5, 2023):

The big upside with "vanity paths" like filippo.io/mkcert is that they are host agnostic (which is a great thing if you move your stuff from GitHub to GitLab or something) -- which in some sense makes them ... more canonical?

<!-- gh-comment-id:1577140729 --> @bep commented on GitHub (Jun 5, 2023): The big upside with "vanity paths" like `filippo.io/mkcert` is that they are host agnostic (which is a great thing if you move your stuff from GitHub to GitLab or something) -- which in some sense makes them ... more canonical?
Author
Owner

@jmooring commented on GitHub (Jun 5, 2023):

I suppose this is really just a documentation issue, because you don't know the "more canonical" (vanity) import path until you've tried the "less canonical" import path.

<!-- gh-comment-id:1577282631 --> @jmooring commented on GitHub (Jun 5, 2023): I suppose this is really just a documentation issue, because you don't know the "more canonical" (vanity) import path until you've tried the "less canonical" import path.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mkcert#318
No description provided.