Skip to content

Instantly share code, notes, and snippets.

View timotree3's full-sized avatar

Timo Carlin-Burns timotree3

View GitHub Profile
@timotree3
timotree3 / pre-commit
Last active March 19, 2017 03:38
My holochain githooks (put in .git/hooks)
#!/bin/bash
if [ -n "$(gofmt -s -l .)" ]; then
echo "\`gofmt -s -w .\` your code."
exit 1
fi