-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ MAINTAINER "Cuong Manh Le <[email protected]>" | |
RUN apk update && \ | ||
apk add git build-base && \ | ||
rm -rf /var/cache/apk/* && \ | ||
go get -v -d github.com/Gnouc/gogi && \ | ||
cd "$GOPATH/src/github.com/Gnouc/gogi/gogi" && \ | ||
go get -v -d github.com/cuonglm/gogi && \ | ||
cd "$GOPATH/src/github.com/cuonglm/gogi/gogi" && \ | ||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a --installsuffix cgo --ldflags="-s" -o /gogi | ||
|
||
COPY Dockerfile.run / | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
# gogi - Go client for gitignore.io | ||
|
||
[![Build Status](https://travis-ci.org/Gnouc/gogi.svg?branch=master)](https://travis-ci.org/Gnouc/gogi) | ||
[![Go Report Card](https://goreportcard.com/badge/github.com/Gnouc/gogi)](https://goreportcard.com/report/github.com/Gnouc/gogi) | ||
[![GoDoc](https://godoc.org/github.com/Gnouc/gogi?status.svg)](https://godoc.org/github.com/Gnouc/gogi) | ||
[![Build Status](https://travis-ci.org/cuonglm/gogi.svg?branch=master)](https://travis-ci.org/cuonglm/gogi) | ||
[![Go Report Card](https://goreportcard.com/badge/github.com/cuonglm/gogi)](https://goreportcard.com/report/github.com/cuonglm/gogi) | ||
[![GoDoc](https://godoc.org/github.com/cuonglm/gogi?status.svg)](https://godoc.org/github.com/cuonglm/gogi) | ||
|
||
# Why gogi? | ||
|
||
Make gitignore client more portable, without relying on the shell, curl, wget or any other http client. | ||
|
||
# Installation | ||
```sh | ||
go get -u github.com/Gnouc/gogi | ||
go get -u github.com/cuonglm/gogi | ||
``` | ||
|
||
# Usage | ||
|
@@ -21,7 +21,7 @@ import ( | |
"fmt" | ||
"log" | ||
|
||
"github.com/Gnouc/gogi" | ||
"github.com/cuonglm/gogi" | ||
) | ||
|
||
func main() { | ||
|
@@ -37,7 +37,7 @@ func main() { | |
|
||
## As binary: | ||
```sh | ||
$ go get github.com/Gnouc/gogi/cmd/gogi | ||
$ go get github.com/cuonglm/gogi/cmd/gogi | ||
$ gogi | ||
Usage of gogi: | ||
-create string | ||
|
@@ -80,4 +80,4 @@ Cuong Manh Le <[email protected]> | |
|
||
# License | ||
|
||
See [LICENSE](https://github.com/Gnouc/gogi/blob/master/LICENSE) | ||
See [LICENSE](https://github.com/cuonglm/gogi/blob/master/LICENSE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ import ( | |
"os" | ||
"strings" | ||
|
||
"github.com/Gnouc/gogi" | ||
"github.com/cuonglm/gogi" | ||
) | ||
|
||
var ( | ||
|