Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Go
on: [push]
jobs:

test-build:
name: Test & Build
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: Test
run: |
go mod tidy -v
go test -race ./...

- name: Build
run: go build ./...
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

27 changes: 0 additions & 27 deletions Gopkg.lock

This file was deleted.

30 changes: 0 additions & 30 deletions Gopkg.toml

This file was deleted.

5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ make your own changes if needed. For more detail read my blog post: [Taking an i
Thanks to everyone for their valuable feedback and contributions.


# Color [![GoDoc](https://godoc.org/github.com/fatih/color?status.svg)](https://godoc.org/github.com/fatih/color) [![Build Status](https://img.shields.io/travis/fatih/color.svg?style=flat-square)](https://travis-ci.org/fatih/color)
# Color [![GoDoc](https://godoc.org/github.com/fatih/color?status.svg)](https://godoc.org/github.com/fatih/color)

Color lets you use colorized outputs in terms of [ANSI Escape
Codes](http://en.wikipedia.org/wiki/ANSI_escape_code#Colors) in Go (Golang). It
Expand All @@ -23,9 +23,6 @@ suits you.
go get github.com/fatih/color
```

Note that the `vendor` folder is here for stability. Remove the folder if you
already have the dependencies in your GOPATH.

## Examples

### Standard colors
Expand Down
9 changes: 9 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module github.com/fatih/color

go 1.13

require (
github.com/mattn/go-colorable v0.0.9
github.com/mattn/go-isatty v0.0.3
golang.org/x/sys v0.0.0-20180202135801-37707fdb30a5 // indirect
)
6 changes: 6 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
github.com/mattn/go-colorable v0.0.9 h1:UVL0vNpWh04HeJXV0KLcaT7r06gOH2l4OW6ddYRUIY4=
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
github.com/mattn/go-isatty v0.0.3 h1:ns/ykhmWi7G9O+8a448SecJU3nSMBXJfqQkl0upE1jI=
github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
golang.org/x/sys v0.0.0-20180202135801-37707fdb30a5 h1:MF92a0wJ3gzSUVBpjcwdrDr5+klMFRNEEu6Mev4n00I=
golang.org/x/sys v0.0.0-20180202135801-37707fdb30a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
16 changes: 0 additions & 16 deletions vendor/github.com/mattn/go-colorable/_example/escape-seq/main.go

This file was deleted.

16 changes: 0 additions & 16 deletions vendor/github.com/mattn/go-colorable/_example/logrus/main.go

This file was deleted.

14 changes: 0 additions & 14 deletions vendor/github.com/mattn/go-colorable/_example/title/main.go

This file was deleted.

83 changes: 0 additions & 83 deletions vendor/github.com/mattn/go-colorable/colorable_test.go

This file was deleted.

18 changes: 0 additions & 18 deletions vendor/github.com/mattn/go-isatty/example_test.go

This file was deleted.

19 changes: 0 additions & 19 deletions vendor/github.com/mattn/go-isatty/isatty_others_test.go

This file was deleted.

35 changes: 0 additions & 35 deletions vendor/github.com/mattn/go-isatty/isatty_windows_test.go

This file was deleted.

10 changes: 0 additions & 10 deletions vendor/golang.org/x/sys/.gitattributes

This file was deleted.

2 changes: 0 additions & 2 deletions vendor/golang.org/x/sys/.gitignore

This file was deleted.

31 changes: 0 additions & 31 deletions vendor/golang.org/x/sys/CONTRIBUTING.md

This file was deleted.

18 changes: 0 additions & 18 deletions vendor/golang.org/x/sys/README.md

This file was deleted.

Loading