File: goimports2_all

package info (click to toggle)
golang-github-gosnmp-gosnmp 1.42.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 752 kB
  • sloc: sh: 75; makefile: 20
file content (6 lines) | stat: -rwxr-xr-x 194 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
#!/bin/bash

# run goimports2 script across all go files, excluding the following directories:
#   - mocks

find . -type d -name mocks -prune -o -type f -name '*.go' -exec ./goimports2 '{}' ';'