Skip to content

Instantly share code, notes, and snippets.

@imjasonh
Last active October 28, 2021 05:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save imjasonh/9504be9909610456990ab62cd94bb2ee to your computer and use it in GitHub Desktop.
Save imjasonh/9504be9909610456990ab62cd94bb2ee to your computer and use it in GitHub Desktop.
$ cat pkg/**/*.go | sort | uniq -c | sort -n | tail -n 20
195 if err != nil {
201 import (
225 )
226 // http://www.apache.org/licenses/LICENSE-2.0
226 // Licensed under the Apache License, Version 2.0 (the "License");
226 // See the License for the specific language governing permissions and
226 // Unless required by applicable law or agreed to in writing, software
226 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
226 // You may obtain a copy of the License at
226 // distributed under the License is distributed on an "AS IS" BASIS,
226 // limitations under the License.
226 // you may not use this file except in compliance with the License.
278 }
291 t.Fatal(err)
672 }
750 //
1051 if err != nil {
1328 }
2580 }
3870
$ cat pkg/**/*.go | sort | uniq -c | sort -n | tail -n 20
48 // Copyright 2018 Google LLC All Rights Reserved.
54 import (
62 if err != nil {
63 )
64 // http://www.apache.org/licenses/LICENSE-2.0
64 // Licensed under the Apache License, Version 2.0 (the "License");
64 // See the License for the specific language governing permissions and
64 // Unless required by applicable law or agreed to in writing, software
64 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
64 // You may obtain a copy of the License at
64 // distributed under the License is distributed on an "AS IS" BASIS,
64 // limitations under the License.
64 // you may not use this file except in compliance with the License.
105 }
123 if err != nil {
191 }
202 //
251 }
340 }
922
$ cat pkg/**/*.go | sort | uniq -c | sort -n | tail -n 20
472 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
472 You may obtain a copy of the License at
472 distributed under the License is distributed on an "AS IS" BASIS,
472 limitations under the License.
472 you may not use this file except in compliance with the License.
488 */
490 /*
492 }},
495 },
558 )
712 },
874 }
902 },
1003 }
1221 }, {
1461 },
2187 },
2946 }
3867 }
9248
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment