summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/google/gopacket/.travis.govet.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/google/gopacket/.travis.govet.sh')
-rwxr-xr-xvendor/github.com/google/gopacket/.travis.govet.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/github.com/google/gopacket/.travis.govet.sh b/vendor/github.com/google/gopacket/.travis.govet.sh
new file mode 100755
index 0000000..52ad084
--- /dev/null
+++ b/vendor/github.com/google/gopacket/.travis.govet.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+cd "$(dirname $0)"
+DIRS=". layers pcap pcapgo pfring tcpassembly tcpassembly/tcpreader routing ip4defrag bytediff macs"
+set -e
+for subdir in $DIRS; do
+ pushd $subdir
+ go vet
+ popd
+done