Enter a command. For example: git reflog, st info, serve, git clear.


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}}

This is a tldr pages (source, CC BY 4.0) web wrapper for All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.