Skip to content

Commit

Permalink
content/go-fmt-your-code: Fix broken link for go/misc/git/pre-commit …
Browse files Browse the repository at this point in the history
…script.

Change-Id: If5df5d84b933fdfcc476cb2bafeb9982a6ac9a49
Reviewed-on: https://go-review.googlesource.com/c/blog/+/203611
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
  • Loading branch information
marcsanmi authored and bradfitz committed Oct 29, 2019
1 parent 6f0fc3f commit 0a405bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/go-fmt-your-code.article
Expand Up @@ -40,7 +40,7 @@ For emacs users, [[https://github.com/dominikh/go-mode.el][go-mode.el]] provides

For Eclipse or Sublime Text users, the [[https://github.com/GoClipse/goclipse][GoClipse]] and [[https://github.com/DisposaBoy/GoSublime][GoSublime]] projects add a gofmt facility to those editors.

And for Git aficionados, the [[https://golang.org/misc/git/pre-commit][misc/git/pre-commit script]] is a pre-commit hook that prevents incorrectly-formatted Go code from being committed. If you use Mercurial, the [[https://bitbucket.org/fhs/hgstyle/overview][hgstyle plugin]] provides a gofmt pre-commit hook.
And for Git aficionados, the [[https://github.com/golang/go/blob/release-branch.go1.1/misc/git/pre-commit][misc/git/pre-commit script]] is a pre-commit hook that prevents incorrectly-formatted Go code from being committed. If you use Mercurial, the [[https://bitbucket.org/fhs/hgstyle/overview][hgstyle plugin]] provides a gofmt pre-commit hook.

* Mechanical source transformation

Expand Down

0 comments on commit 0a405bc

Please sign in to comment.