all: go fmt ./...

Make all our package sources use Go 1.17 gofmt format
(adding //go:build lines).

Not strictly necessary but will avoid spurious changes
as files are edited.

Part of //go:build change (#41184).
See https://golang.org/design/draft-gobuild

Change-Id: I39a1884031dd02279530c64cd5d65ddfb8ba299c
Reviewed-on: https://go-review.googlesource.com/c/term/+/294422
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Robert Griesemer <gri@golang.org>
3 files changed
tree: 99c01849cb48930d18971b17110bb37f179e9026
  1. AUTHORS
  2. CONTRIBUTING.md
  3. CONTRIBUTORS
  4. go.mod
  5. go.sum
  6. LICENSE
  7. PATENTS
  8. README.md
  9. term.go
  10. term_plan9.go
  11. term_solaris.go
  12. term_test.go
  13. term_unix.go
  14. term_unix_aix.go
  15. term_unix_bsd.go
  16. term_unix_linux.go
  17. term_unix_zos.go
  18. term_unsupported.go
  19. term_windows.go
  20. terminal.go
  21. terminal_test.go
README.md

Go terminal/console support

Go Reference

This repository provides Go terminal and console support packages.

Download/Install

The easiest way to install is to run go get -u golang.org/x/term. You can also manually git clone the repository to $GOPATH/src/golang.org/x/term.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.

The main issue tracker for the term repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/term:” in the subject line, so it is easy to find.