Last active
November 28, 2021 15:45
-
-
Save joubertredrat/66ab0a2f9d4886b7b511cd683f11d347 to your computer and use it in GitHub Desktop.
Editorconfig and gitignore for go projects
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root = true | |
[*] | |
insert_final_newline = true | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
indent_style = space | |
indent_size = 2 | |
[{Makefile,go.mod,go.sum,*.go}] | |
indent_style = tab | |
indent_size = 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Binaries for programs and plugins | |
*.exe | |
*.exe~ | |
*.dll | |
*.so | |
*.dylib | |
# Test binary, built with `go test -c` | |
*.test | |
# Output of the go coverage tool, specifically when used with LiteIDE | |
*.out | |
# Dependency directories (remove the comment below to include it) | |
# vendor/ | |
.env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment