1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 02:35:32 +02:00

go*: update documentation links (#17015)

This commit is contained in:
Nelson Figueroa 2025-06-28 15:06:36 -07:00 committed by GitHub
parent 8b4e9fe084
commit f496e451fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 13 additions and 13 deletions

View file

@ -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:

View file

@ -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):

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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: