5 go get github.com/golang/lint/golint
6 DIRS=". tcpassembly tcpassembly/tcpreader ip4defrag reassembly macs pcapgo pcap afpacket pfring routing"
7 # Add subdirectories here as we clean up golint on each.
8 for subdir in $DIRS; do
11 grep -v CannotSetRFMon | # pcap exported error name
12 grep -v DataLost | # tcpassembly/tcpreader exported error name
20 for file in $(cat .linted); do
21 if golint $file | grep .; then