Skip to content

Instantly share code, notes, and snippets.

@bpicolo
Last active January 31, 2017 19:20
Show Gist options
  • Save bpicolo/5ee1ed5fe757bcdaf4f3eb77b82f9f6d to your computer and use it in GitHub Desktop.
Save bpicolo/5ee1ed5fe757bcdaf4f3eb77b82f9f6d to your computer and use it in GitHub Desktop.
Pre-commit docker hook
- id: gofmt
name: gofmt
entry: gofmt
description: gofmt delivered via docker
language: docker
files: \.go$
FROM golang:1.6.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment