)]}' { "commit": "8f45f776aaf18cebc8d65861cc70c33c60471952", "tree": "203077364056baf6ca6893b887788a13eb2be484", "parents": [ "93c0bb5c83939f89e6238cefd42de38f33734409" ], "author": { "name": "Michael Matloob", "email": "matloob@golang.org", "time": "Fri Dec 14 18:25:17 2018 -0500" }, "committer": { "name": "Michael Matloob", "email": "matloob@golang.org", "time": "Mon Dec 17 17:45:47 2018 +0000" }, "message": "go/lint: only report kBlah error for constants and top level vars\n\nThe error for variables that start with k followed by a variable name,\nsuch as \"kBlah\", has a lot of false positives. It\u0027s intended to avoid\ncases where users try to follow the Google C++ style guide or hungarian\nnotation for constants. So it should only be reported for constants and\ntop-level variables because those are the cases where users make this\nmistake.\n\nChange-Id: I7e862dbc1013707b6b9ebaa72ee07fb623dd0ce8\nReviewed-on: https://go-review.googlesource.com/c/154339\nReviewed-by: Heschi Kreinick \u003cheschi@google.com\u003e\nReviewed-by: Rebecca Stambler \u003crstambler@golang.org\u003e\nRun-TryBot: Heschi Kreinick \u003cheschi@google.com\u003e\nTryBot-Result: Gobot Gobot \u003cgobot@golang.org\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "b424245d0bfbf70b0c1f8c943d3ae42ba6541a77", "old_mode": 33188, "old_path": "lint.go", "new_id": "6b9fd6e2b6203d15220e45c4b9eb10c5110eaf80", "new_mode": 33188, "new_path": "lint.go" }, { "type": "modify", "old_id": "ed7dd4160390e3c22bc289c064220385c8c2252f", "old_mode": 33188, "old_path": "testdata/names.go", "new_id": "328a8d79249fc4996abaa2723df4c9a36e6174ab", "new_mode": 33188, "new_path": "testdata/names.go" } ] }