mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 07:15:32 +02:00
go*: update documentation links (#17015)
This commit is contained in:
parent
8b4e9fe084
commit
f496e451fb
13 changed files with 13 additions and 13 deletions
|
@ -1,7 +1,7 @@
|
|||
# go bug
|
||||
|
||||
> Report a bug.
|
||||
> More information: <https://golang.org/cmd/go/#hdr-Start_a_bug_report>.
|
||||
> More information: <https://pkg.go.dev/cmd/go#hdr-Start_a_bug_report>.
|
||||
|
||||
- Open a web page to start a bug report:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# go build
|
||||
|
||||
> Compile Go sources.
|
||||
> More information: <https://golang.org/cmd/go/#hdr-Compile_packages_and_dependencies>.
|
||||
> More information: <https://pkg.go.dev/cmd/go#hdr-Compile_packages_and_dependencies>.
|
||||
|
||||
- Compile a 'package main' file (output will be the filename without extension):
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# go clean
|
||||
|
||||
> Remove object files and cached files.
|
||||
> More information: <https://golang.org/cmd/go/#hdr-Remove_object_files_and_cached_files>.
|
||||
> More information: <https://pkg.go.dev/cmd/go#hdr-Remove_object_files_and_cached_files>.
|
||||
|
||||
- Print the remove commands instead of actually removing anything:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# go doc
|
||||
|
||||
> View documentation for a package or symbol.
|
||||
> More information: <https://golang.org/cmd/go/#hdr-Show_documentation_for_package_or_symbol>.
|
||||
> More information: <https://pkg.go.dev/cmd/go#hdr-Show_documentation_for_package_or_symbol>.
|
||||
|
||||
- View documentation for the current package:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# go env
|
||||
|
||||
> Manage environment variables used by the Go toolchain.
|
||||
> More information: <https://golang.org/cmd/go/#hdr-Print_Go_environment_information>.
|
||||
> More information: <https://pkg.go.dev/cmd/go#hdr-Print_Go_environment_information>.
|
||||
|
||||
- Show all environment variables:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# go fix
|
||||
|
||||
> Update packages to use new APIs.
|
||||
> More information: <https://golang.org/cmd/go/#hdr-Update_packages_to_use_new_APIs>.
|
||||
> More information: <https://pkg.go.dev/cmd/go#hdr-Update_packages_to_use_new_APIs>.
|
||||
|
||||
- Update packages to use new APIs:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# go generate
|
||||
|
||||
> Generate Go files by running commands within source files.
|
||||
> More information: <https://golang.org/cmd/go/#hdr-Generate_Go_files_by_processing_source>.
|
||||
> More information: <https://pkg.go.dev/cmd/go#hdr-Generate_Go_files_by_processing_source>.
|
||||
|
||||
- Generate Go files by running commands within source files:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# go list
|
||||
|
||||
> List packages or modules.
|
||||
> More information: <https://golang.org/cmd/go/#hdr-List_packages_or_modules>.
|
||||
> More information: <https://pkg.go.dev/cmd/go#hdr-List_packages_or_modules>.
|
||||
|
||||
- List packages:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# go mod
|
||||
|
||||
> Module maintenance.
|
||||
> More information: <https://golang.org/cmd/go/#hdr-Module_maintenance>.
|
||||
> More information: <https://pkg.go.dev/cmd/go#hdr-Module_maintenance>.
|
||||
|
||||
- Initialize new module in current directory:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# go version
|
||||
|
||||
> Display Go version.
|
||||
> More information: <https://golang.org/cmd/go/#hdr-Print_Go_version>.
|
||||
> More information: <https://pkg.go.dev/cmd/go#hdr-Print_Go_version>.
|
||||
|
||||
- Display version:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Manage Go source code.
|
||||
> Some subcommands such as `build` have their own usage documentation.
|
||||
> More information: <https://golang.org>.
|
||||
> More information: <https://go.dev/>.
|
||||
|
||||
- Download and install a package, specified by its import path:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# gofmt
|
||||
|
||||
> Format Go source code.
|
||||
> More information: <https://golang.org/cmd/gofmt/>.
|
||||
> More information: <https://pkg.go.dev/cmd/gofmt>.
|
||||
|
||||
- Format a file and display the result to the console:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# goimports
|
||||
|
||||
> Updates Go import lines, adding missing ones and removing unreferenced ones.
|
||||
> More information: <https://godoc.org/golang.org/x/tools/cmd/goimports>.
|
||||
> More information: <https://pkg.go.dev/golang.org/x/tools/cmd/goimports>.
|
||||
|
||||
- Display the completed import source file:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue