Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
goimports_if_go.sh
#!/bin/sh
if [[ $1 == *.go ]]
then
goimports -w $1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.