go,go-*,gofmt,goimports,golangci-lint: add Korean translation (#14190)

This commit is contained in:
코드싸이
2024-10-14 16:51:00 +09:00
committed by GitHub
parent 90ac2d50cd
commit 75d7e53411
21 changed files with 407 additions and 0 deletions

20
pages.ko/common/gofmt.md Normal file
View File

@@ -0,0 +1,20 @@
# gofmt
> Go 소스 코드를 포맷합니다.
> 더 많은 정보: <https://golang.org/cmd/gofmt/>.
- 파일을 포맷하고 결과를 콘솔에 표시:
`gofmt {{source.go}}`
- 파일을 포맷하여 원본 파일을 덮어쓰기:
`gofmt -w {{source.go}}`
- 파일을 포맷하고 코드를 단순화한 후 원본 파일을 덮어쓰기:
`gofmt -s -w {{source.go}}`
- 모든 오류(불필요한 오류 포함)를 출력:
`gofmt -e {{source.go}}`