gofmt
Tool for formatting Go source code.
=> More information.
- Format a file and display the result to the console:
gofmt {source.go}
- Format a file, overwriting the original file in-place:
gofmt -w {source.go}
- Format a file, and then simplify the code, overwriting the original file:
gofmt -s -w {source.go}
- Print all (including spurious) errors:
gofmt -e {source.go}
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/gofmt.gmi
- Status Code
- Success (20)
- Meta
text/gemini;lang=en-GB
- Capsule Response Time
- 103.829729 milliseconds
- Gemini-to-HTML Time
- 0.270559 milliseconds
This content has been proxied by September (ba2dc).