[PR #168] [MERGED] README: use $GOBIN instead of $GOPATH/bin #408

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

📋 Pull Request Information

Original PR: https://github.com/FiloSottile/mkcert/pull/168
Author: @mvdan
Created: 6/12/2019
Status: Merged
Merged: 6/12/2019
Merged by: @FiloSottile

Base: masterHead: master


📝 Commits (1)

  • f4fc3e3 README: use $GOBIN instead of $GOPATH/bin

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 README.md (+1 -1)

📄 Description

$GOPATH/bin works in the simple cases, but will break if the user
specifies their own $GOBIN, or if their $GOPATH has multiple elements.

This form is also simpler. Even if the user doesn't specify their custom
$GOBIN, 'go env GOBIN' will return the correct default.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/FiloSottile/mkcert/pull/168 **Author:** [@mvdan](https://github.com/mvdan) **Created:** 6/12/2019 **Status:** ✅ Merged **Merged:** 6/12/2019 **Merged by:** [@FiloSottile](https://github.com/FiloSottile) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`f4fc3e3`](https://github.com/FiloSottile/mkcert/commit/f4fc3e3febc5b2fc7bf3a035b503416d7cbdf485) README: use $GOBIN instead of $GOPATH/bin ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -1) </details> ### 📄 Description $GOPATH/bin works in the simple cases, but will break if the user specifies their own $GOBIN, or if their $GOPATH has multiple elements. This form is also simpler. Even if the user doesn't specify their custom $GOBIN, 'go env GOBIN' will return the correct default. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 22:33:24 +03:00
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#408
No description provided.