added pre-commit hook for gofmt and golint