1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.ko/common/go-tool.md

26 lines
608 B
Markdown
Raw Normal View History

# go tool
> Go 도구 또는 명령 실행.
> Go 명령을 독립 실행형 바이너리로 실행하여 주로 디버깅에 사용.
> 더 많은 정보: <https://pkg.go.dev/cmd/go#hdr-Run_specified_go_tool>.
- 사용 가능한 도구 나열:
`go tool`
- go link 도구 실행:
`go tool link {{경로/대상/main.o}}`
- 실행될 명령을 출력하지만 실제로 실행하지 않음 (`whereis`와 유사):
`go tool -n {{명령}} {{인수들}}`
- 지정된 도구에 대한 문서 보기:
`go tool {{명령}} --help`
- 사용 가능한 모든 교차 컴파일 대상 나열:
`go tool dist list`