Skip to content

Instantly share code, notes, and snippets.

@msoap
Last active April 18, 2025 10:13
Show Gist options
  • Select an option

  • Save msoap/aa317a0f6558d72b51693ea1d431ab1e to your computer and use it in GitHub Desktop.

Select an option

Save msoap/aa317a0f6558d72b51693ea1d431ab1e to your computer and use it in GitHub Desktop.

Revisions

  1. msoap revised this gist Apr 18, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion golang-quality-check.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    find . -name '*.go' | xargs grep -r 'interface{}' | wc -l
    find . -name '*.go' | xargs grep -E '\Winterface{}\W|\Wany\W' | wc -l
  2. msoap created this gist Sep 13, 2018.
    1 change: 1 addition & 0 deletions golang-quality-check.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    find . -name '*.go' | xargs grep -r 'interface{}' | wc -l