SHA256
1
0

include IPv4 Option padding and type packing/unpacking

This commit is contained in:
brent saner
2025-08-31 00:29:20 -04:00
parent e48754ae4b
commit cd5570d34b
9 changed files with 586 additions and 24 deletions

15
.githooks/pre-commit/02-gofmt Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
srcdir="${PWD}/examples"
if ! command -v gofmt &> /dev/null;
then
exit 0
fi
for f in $(find ${srcdir} -type f -iname "*.go");
do
gofmt -w "${f}"
git add "${f}"
done
echo "Reformatted examples"