aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/github.com/mattn/go-isatty/README.md
diff options
context:
space:
mode:
authorAlex Pilon <apilon@hashicorp.com>2019-02-22 18:24:37 -0500
committerAlex Pilon <apilon@hashicorp.com>2019-02-22 18:24:37 -0500
commit15c0b25d011f37e7c20aeca9eaf461f78285b8d9 (patch)
tree255c250a5c9d4801c74092d33b7337d8c14438ff /vendor/github.com/mattn/go-isatty/README.md
parent07971ca38143c5faf951d152fba370ddcbe26ad5 (diff)
downloadterraform-provider-statuscake-15c0b25d011f37e7c20aeca9eaf461f78285b8d9.tar.gz
terraform-provider-statuscake-15c0b25d011f37e7c20aeca9eaf461f78285b8d9.tar.zst
terraform-provider-statuscake-15c0b25d011f37e7c20aeca9eaf461f78285b8d9.zip
deps: github.com/hashicorp/terraform@sdk-v0.11-with-go-modules
Updated via: go get github.com/hashicorp/terraform@sdk-v0.11-with-go-modules and go mod tidy
Diffstat (limited to 'vendor/github.com/mattn/go-isatty/README.md')
-rw-r--r--vendor/github.com/mattn/go-isatty/README.md37
1 files changed, 37 insertions, 0 deletions
diff --git a/vendor/github.com/mattn/go-isatty/README.md b/vendor/github.com/mattn/go-isatty/README.md
new file mode 100644
index 0000000..74845de
--- /dev/null
+++ b/vendor/github.com/mattn/go-isatty/README.md
@@ -0,0 +1,37 @@
1# go-isatty
2
3isatty for golang
4
5## Usage
6
7```go
8package main
9
10import (
11 "fmt"
12 "github.com/mattn/go-isatty"
13 "os"
14)
15
16func main() {
17 if isatty.IsTerminal(os.Stdout.Fd()) {
18 fmt.Println("Is Terminal")
19 } else {
20 fmt.Println("Is Not Terminal")
21 }
22}
23```
24
25## Installation
26
27```
28$ go get github.com/mattn/go-isatty
29```
30
31# License
32
33MIT
34
35# Author
36
37Yasuhiro Matsumoto (a.k.a mattn)