Skip to content

Instantly share code, notes, and snippets.

View newkek's full-sized avatar
🏠
Working from home

Kevin Gallardo newkek

🏠
Working from home
View GitHub Profile
@TheHippo
TheHippo / pre-commit
Last active May 6, 2020 16:48
`goimports` pre-commit hook
#!/bin/sh
# Copyright 2012 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# git goimports pre-commit hook
#
# To use, store as .git/hooks/pre-commit inside your repository and make sure
# it has execute permissions.
#