Use CR+LF instead of LF regardless of OS

Git by default uses CR+LF on Windows, whereas gofmt always
uses LF even on Windows.

This commit lets Git uses LF on Windows.

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
This commit is contained in:
Kazuyoshi Kato 2022-02-21 21:01:58 +00:00
parent 40a76139bd
commit 8fe1bd5ef2

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
*.go text eol=lf