Skip to content

Commit

Permalink
Fetch golangci-lint in CircleCI config
Browse files Browse the repository at this point in the history
Update CI to use the golang:1.12 container.
Change the install instructions in the README to
  GO111MODULE=off go get github.com/y0ssar1an/q
so the old `go get` behavior will be used.
  • Loading branch information
ryboe committed Mar 10, 2019
1 parent cae9126 commit befa588
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2.1
executors:
go-container:
docker:
- image: golang:1.11
- image: golang:1.12
environment:
GO111MODULE: 'on'
GOFLAGS: '-mod=vendor'
Expand All @@ -18,7 +18,7 @@ jobs:
- restore_cache:
keys:
- go-pkgs-{{ checksum "go.sum" }}
- run: go install github.com/y0ssar1an/q/vendor/github.com/golangci/golangci-lint/cmd/golangci-lint
- run: GO111MODULE=off go get github.com/golangci/golangci-lint/cmd/golangci-lint
- run: golangci-lint run
test:
executor:
Expand Down
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,12 @@ import "github.com/y0ssar1an/q"
...
q.Q(a, b, c)
```
```go
// Alternatively, use the . import and you can omit the package name.
import . "github.com/y0ssar1an/q"
...
Q(a, b, c)
```

For best results, dedicate a terminal to tailing `$TMPDIR/q` while you work.

## Install
```sh
go get -u github.com/y0ssar1an/q
GO111MODULE=off go get github.com/y0ssar1an/q
```

Put these functions in your shell config. Typing `qq` or `rmqq` will then start
Expand Down

0 comments on commit befa588

Please sign in to comment.