go
Tool for managing go source code.
Some subcommands such as go build
have their own usage documentation.
=> More information.
- Download and install a package, specified by its import path:
go get {package_path}
- Compile and run a source file (it has to contain a
main
package):
go run {file}.go
- Compile a source file into a named executable:
go build -o {executable} {file}.go
- Compile the package present in the current directory:
go build
- Execute all test cases of the current package (files have to end with
_test.go
):
go test
- Compile and install the current package:
go install
- Initialize a new module in the current directory:
go mod init {module_name}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
=> CC-BY
Proxy Information
- Original URL
- gemini://freeshell.de/tldr/go.gmi
- Status Code
- Success (20)
- Meta
text/gemini;lang=en-GB
- Capsule Response Time
- 103.323249 milliseconds
- Gemini-to-HTML Time
- 0.337248 milliseconds
This content has been proxied by September (3851b).