This commit is contained in:
yuguojian
2025-05-12 17:47:28 +08:00
commit 45545e6933
5 changed files with 137 additions and 0 deletions

17
README.md Normal file
View File

@@ -0,0 +1,17 @@
## window开发者执行
```bash
git config --global core.autocrlf true # 提交时转 CRLF 为 LF检出时转 LF 为 CRLF
```
## mac开发者执行
```bash
git config --global core.autocrlf input # 提交时转 CRLF 为 LF检出时不转换
```
## 格式化
```bash
gofumpt -l -w .
```
```bash
go install mvdan.cc/gofumpt@latest
```