D7683: examples: add an example configuration for go source files

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Tue Dec 17 14:04:19 EST 2019


durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  Tested by timeless.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D7683

AFFECTED FILES
  contrib/examples/fix.hgrc

CHANGE DETAILS

diff --git a/contrib/examples/fix.hgrc b/contrib/examples/fix.hgrc
--- a/contrib/examples/fix.hgrc
+++ b/contrib/examples/fix.hgrc
@@ -7,3 +7,6 @@
 
 black:command = black --config=black.toml -
 black:pattern = set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**"
+
+go:command = gofmt
+go:pattern = set:**.go



To: durin42, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list