Skip to content

Commit 2e5e248

Browse files
authored
Merge pull request #108 from fatih/support-modules
Add Go modules update
2 parents 3f9d52f + d747421 commit 2e5e248

File tree

133 files changed

+47
-18449
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+47
-18449
lines changed

.github/workflows/go.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Go
2+
on: [push]
3+
jobs:
4+
5+
test-build:
6+
name: Test & Build
7+
runs-on: ubuntu-latest
8+
steps:
9+
10+
- name: Set up Go 1.13
11+
uses: actions/setup-go@v1
12+
with:
13+
go-version: 1.13
14+
id: go
15+
16+
- name: Check out code into the Go module directory
17+
uses: actions/checkout@v1
18+
19+
- name: Test
20+
run: |
21+
go mod tidy -v
22+
go test -race ./...
23+
24+
- name: Build
25+
run: go build ./...

.travis.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

Gopkg.lock

Lines changed: 0 additions & 27 deletions
This file was deleted.

Gopkg.toml

Lines changed: 0 additions & 30 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ make your own changes if needed. For more detail read my blog post: [Taking an i
66
Thanks to everyone for their valuable feedback and contributions.
77

88

9-
# 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)
9+
# Color [![GoDoc](https://godoc.org/github.com/fatih/color?status.svg)](https://godoc.org/github.com/fatih/color)
1010

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

26-
Note that the `vendor` folder is here for stability. Remove the folder if you
27-
already have the dependencies in your GOPATH.
28-
2926
## Examples
3027

3128
### Standard colors

go.mod

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module github.com/fatih/color
2+
3+
go 1.13
4+
5+
require (
6+
github.com/mattn/go-colorable v0.0.9
7+
github.com/mattn/go-isatty v0.0.3
8+
golang.org/x/sys v0.0.0-20180202135801-37707fdb30a5 // indirect
9+
)

go.sum

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
github.com/mattn/go-colorable v0.0.9 h1:UVL0vNpWh04HeJXV0KLcaT7r06gOH2l4OW6ddYRUIY4=
2+
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
3+
github.com/mattn/go-isatty v0.0.3 h1:ns/ykhmWi7G9O+8a448SecJU3nSMBXJfqQkl0upE1jI=
4+
github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
5+
golang.org/x/sys v0.0.0-20180202135801-37707fdb30a5 h1:MF92a0wJ3gzSUVBpjcwdrDr5+klMFRNEEu6Mev4n00I=
6+
golang.org/x/sys v0.0.0-20180202135801-37707fdb30a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=

vendor/github.com/mattn/go-colorable/_example/escape-seq/main.go

Lines changed: 0 additions & 16 deletions
This file was deleted.

vendor/github.com/mattn/go-colorable/_example/logrus/main.go

Lines changed: 0 additions & 16 deletions
This file was deleted.

vendor/github.com/mattn/go-colorable/_example/title/main.go

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)