-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
138 changed files
with
5,769 additions
and
54 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
layout: page | ||
title: common/go-bug (한국어) | ||
description: "버그 보고." | ||
content_hash: 008ad32f1ceef2b27aa56f017cb83bc33fefa0fd | ||
last_modified_at: 2024-10-14 | ||
related_topics: | ||
- title: English version | ||
url: /en/common/go-bug.html | ||
icon: bi bi-globe | ||
- title: svenska version | ||
url: /sv/common/go-bug.html | ||
icon: bi bi-globe | ||
- title: Türkçe version | ||
url: /tr/common/go-bug.html | ||
icon: bi bi-globe | ||
- title: 中文 version | ||
url: /zh/common/go-bug.html | ||
icon: bi bi-globe | ||
tldri18n_status: 0 | ||
--- | ||
|
||
### Outdated Translation | ||
This entry is currently considered outdated and its contents may not be up-to-date with other translations. | ||
|
||
Please considering fixing this issue by contributing to the [tldr-pages](https://github.com/tldr-pages/tldr) project directly. | ||
|
||
<a class="btn btn-primary" href="{{ site.url }}/en/common/go-bug.html">View original (English) version</a> | ||
<a class="btn" href="https://github.com/tldr-pages/tldr/blob/main/CONTRIBUTING.md">Contributing Guidelines</a> | ||
|
||
<hr># go bug | ||
|
||
버그 보고. | ||
더 많은 정보: <https://golang.org/cmd/go/#hdr-Start_a_bug_report>. | ||
|
||
- 버그 보고를 시작하기 위해 웹 페이지 열기: | ||
|
||
`go bug` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
layout: page | ||
title: common/go-build (한국어) | ||
description: "Go 소스 컴파일." | ||
content_hash: 0ed7db2dde61bc70e45ea93866fdf4c561267eb8 | ||
last_modified_at: 2024-10-14 | ||
related_topics: | ||
- title: English version | ||
url: /en/common/go-build.html | ||
icon: bi bi-globe | ||
- title: Türkçe version | ||
url: /tr/common/go-build.html | ||
icon: bi bi-globe | ||
- title: 中文 version | ||
url: /zh/common/go-build.html | ||
icon: bi bi-globe | ||
tldri18n_status: 0 | ||
--- | ||
|
||
### Outdated Translation | ||
This entry is currently considered outdated and its contents may not be up-to-date with other translations. | ||
|
||
Please considering fixing this issue by contributing to the [tldr-pages](https://github.com/tldr-pages/tldr) project directly. | ||
|
||
<a class="btn btn-primary" href="{{ site.url }}/en/common/go-build.html">View original (English) version</a> | ||
<a class="btn" href="https://github.com/tldr-pages/tldr/blob/main/CONTRIBUTING.md">Contributing Guidelines</a> | ||
|
||
<hr># go build | ||
|
||
Go 소스 컴파일. | ||
더 많은 정보: <https://golang.org/cmd/go/#hdr-Compile_packages_and_dependencies>. | ||
|
||
- 'package main' 파일 컴파일 (출력은 확장자가 없는 파일 이름): | ||
|
||
`go build `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">경로/대상/main.go</span> | ||
|
||
- 출력 파일 이름을 지정하여 컴파일: | ||
|
||
`go build -o `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">경로/대상/바이너리</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">경로/대상/소스.go</span> | ||
|
||
- 패키지 컴파일: | ||
|
||
`go build -o `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">경로/대상/바이너리</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">경로/대상/패키지</span> | ||
|
||
- 데이터 경쟁 감지를 활성화하여 메인 패키지를 실행 파일로 컴파일: | ||
|
||
`go build -race -o `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">경로/대상/실행_파일</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">경로/대상/메인/패키지</span> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
layout: page | ||
title: common/go-clean (한국어) | ||
description: "오브젝트 파일과 캐시 파일 제거." | ||
content_hash: aa68c31d4cb22e6e394271f77f4c5a39e5d7e42e | ||
last_modified_at: 2024-10-14 | ||
related_topics: | ||
- title: English version | ||
url: /en/common/go-clean.html | ||
icon: bi bi-globe | ||
- title: Türkçe version | ||
url: /tr/common/go-clean.html | ||
icon: bi bi-globe | ||
- title: 中文 version | ||
url: /zh/common/go-clean.html | ||
icon: bi bi-globe | ||
tldri18n_status: 0 | ||
--- | ||
|
||
### Outdated Translation | ||
This entry is currently considered outdated and its contents may not be up-to-date with other translations. | ||
|
||
Please considering fixing this issue by contributing to the [tldr-pages](https://github.com/tldr-pages/tldr) project directly. | ||
|
||
<a class="btn btn-primary" href="{{ site.url }}/en/common/go-clean.html">View original (English) version</a> | ||
<a class="btn" href="https://github.com/tldr-pages/tldr/blob/main/CONTRIBUTING.md">Contributing Guidelines</a> | ||
|
||
<hr># go clean | ||
|
||
오브젝트 파일과 캐시 파일 제거. | ||
더 많은 정보: <https://golang.org/cmd/go/#hdr-Remove_object_files_and_cached_files>. | ||
|
||
- 실제로 제거하지 않고 제거 명령 출력: | ||
|
||
`go clean -n` | ||
|
||
- 빌드 캐시 삭제: | ||
|
||
`go clean -cache` | ||
|
||
- 모든 캐시된 테스트 결과 삭제: | ||
|
||
`go clean -testcache` | ||
|
||
- 모듈 캐시 삭제: | ||
|
||
`go clean -modcache` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- | ||
layout: page | ||
title: common/go-doc (한국어) | ||
description: "패키지나 심볼에 대한 문서 보기." | ||
content_hash: 37733e3ffdd41827b76e09a1b9d0869ee515aef8 | ||
last_modified_at: 2024-10-14 | ||
related_topics: | ||
- title: English version | ||
url: /en/common/go-doc.html | ||
icon: bi bi-globe | ||
- title: Türkçe version | ||
url: /tr/common/go-doc.html | ||
icon: bi bi-globe | ||
- title: 中文 version | ||
url: /zh/common/go-doc.html | ||
icon: bi bi-globe | ||
tldri18n_status: 0 | ||
--- | ||
|
||
### Outdated Translation | ||
This entry is currently considered outdated and its contents may not be up-to-date with other translations. | ||
|
||
Please considering fixing this issue by contributing to the [tldr-pages](https://github.com/tldr-pages/tldr) project directly. | ||
|
||
<a class="btn btn-primary" href="{{ site.url }}/en/common/go-doc.html">View original (English) version</a> | ||
<a class="btn" href="https://github.com/tldr-pages/tldr/blob/main/CONTRIBUTING.md">Contributing Guidelines</a> | ||
|
||
<hr># go doc | ||
|
||
패키지나 심볼에 대한 문서 보기. | ||
더 많은 정보: <https://golang.org/cmd/go/#hdr-Show_documentation_for_package_or_symbol>. | ||
|
||
- 현재 패키지에 대한 문서 보기: | ||
|
||
`go doc` | ||
|
||
- 패키지 문서 및 내보내진 기호 보기: | ||
|
||
`go doc `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">encoding/json</span> | ||
|
||
- 기호의 문서도 함께 보기: | ||
|
||
`go doc -all `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">encoding/json</span> | ||
|
||
- 소스도 함께 보기: | ||
|
||
`go doc -all -src `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">encoding/json</span> | ||
|
||
- 특정 기호 보기: | ||
|
||
`go doc -all -src `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">encoding/json.Number</span> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
layout: page | ||
title: common/go-env (한국어) | ||
description: "Go 툴체인이 사용하는 환경 변수를 관리합니다." | ||
content_hash: 0d1fbba3d67c01f559e438dd5d10e58141395219 | ||
last_modified_at: 2024-10-14 | ||
related_topics: | ||
- title: English version | ||
url: /en/common/go-env.html | ||
icon: bi bi-globe | ||
- title: Türkçe version | ||
url: /tr/common/go-env.html | ||
icon: bi bi-globe | ||
- title: 中文 version | ||
url: /zh/common/go-env.html | ||
icon: bi bi-globe | ||
tldri18n_status: 0 | ||
--- | ||
|
||
### Outdated Translation | ||
This entry is currently considered outdated and its contents may not be up-to-date with other translations. | ||
|
||
Please considering fixing this issue by contributing to the [tldr-pages](https://github.com/tldr-pages/tldr) project directly. | ||
|
||
<a class="btn btn-primary" href="{{ site.url }}/en/common/go-env.html">View original (English) version</a> | ||
<a class="btn" href="https://github.com/tldr-pages/tldr/blob/main/CONTRIBUTING.md">Contributing Guidelines</a> | ||
|
||
<hr># go env | ||
|
||
Go 툴체인이 사용하는 환경 변수를 관리합니다. | ||
더 많은 정보: <https://golang.org/cmd/go/#hdr-Print_Go_environment_information>. | ||
|
||
- 모든 환경 변수 표시: | ||
|
||
`go env` | ||
|
||
- 특정 환경 변수 표시: | ||
|
||
`go env `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">GOPATH</span> | ||
|
||
- 환경 변수를 특정 값으로 설정: | ||
|
||
`go env -w `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">GOBIN</span>`=`<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">경로/대상/폴더</span> | ||
|
||
- 환경 변수의 값을 재설정: | ||
|
||
`go env -u `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">GOBIN</span> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
layout: page | ||
title: common/go-fix (한국어) | ||
description: "패키지를 새로운 API를 사용하도록 업데이트." | ||
content_hash: c11224ae26ecda9c44cac1161c52d48c03205101 | ||
last_modified_at: 2024-10-14 | ||
related_topics: | ||
- title: English version | ||
url: /en/common/go-fix.html | ||
icon: bi bi-globe | ||
- title: svenska version | ||
url: /sv/common/go-fix.html | ||
icon: bi bi-globe | ||
- title: Türkçe version | ||
url: /tr/common/go-fix.html | ||
icon: bi bi-globe | ||
tldri18n_status: 0 | ||
--- | ||
|
||
### Outdated Translation | ||
This entry is currently considered outdated and its contents may not be up-to-date with other translations. | ||
|
||
Please considering fixing this issue by contributing to the [tldr-pages](https://github.com/tldr-pages/tldr) project directly. | ||
|
||
<a class="btn btn-primary" href="{{ site.url }}/en/common/go-fix.html">View original (English) version</a> | ||
<a class="btn" href="https://github.com/tldr-pages/tldr/blob/main/CONTRIBUTING.md">Contributing Guidelines</a> | ||
|
||
<hr># go fix | ||
|
||
패키지를 새로운 API를 사용하도록 업데이트. | ||
더 많은 정보: <https://golang.org/cmd/go/#hdr-Update_packages_to_use_new_APIs>. | ||
|
||
- 패키지를 새로운 API를 사용하도록 업데이트: | ||
|
||
`go fix `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">packages</span> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
layout: page | ||
title: common/go-fmt (한국어) | ||
description: "Go 소스 파일을 포맷하고 변경된 파일 이름을 출력합니다." | ||
content_hash: be5703495e1b846e14df0244cfed49b91ce0b62a | ||
last_modified_at: 2024-10-14 | ||
related_topics: | ||
- title: English version | ||
url: /en/common/go-fmt.html | ||
icon: bi bi-globe | ||
- title: Türkçe version | ||
url: /tr/common/go-fmt.html | ||
icon: bi bi-globe | ||
tldri18n_status: 0 | ||
--- | ||
|
||
### Outdated Translation | ||
This entry is currently considered outdated and its contents may not be up-to-date with other translations. | ||
|
||
Please considering fixing this issue by contributing to the [tldr-pages](https://github.com/tldr-pages/tldr) project directly. | ||
|
||
<a class="btn btn-primary" href="{{ site.url }}/en/common/go-fmt.html">View original (English) version</a> | ||
<a class="btn" href="https://github.com/tldr-pages/tldr/blob/main/CONTRIBUTING.md">Contributing Guidelines</a> | ||
|
||
<hr># go fmt | ||
|
||
Go 소스 파일을 포맷하고 변경된 파일 이름을 출력합니다. | ||
더 많은 정보: <https://pkg.go.dev/cmd/go#hdr-Gofmt__reformat__package_sources>. | ||
|
||
- 현재 디렉토리의 Go 소스 파일 포맷: | ||
|
||
`go fmt` | ||
|
||
- 가져오기 경로(`$GOPATH/src`)에 있는 특정 Go 패키지 포맷: | ||
|
||
`go fmt `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">경로/대상/패키지</span> | ||
|
||
- 현재 디렉토리와 모든 하위 디렉토리의 패키지 포맷 (`...`을 주의하세요): | ||
|
||
`go fmt `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">./...</span> | ||
|
||
- 포맷 명령이 실행될 때 어떤 명령이 실행될지 출력하고 실제로 수정하지 않음: | ||
|
||
`go fmt -n` | ||
|
||
- 포맷 명령이 실행될 때 실행되는 명령을 출력: | ||
|
||
`go fmt -x` |
Oops, something went wrong.