This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
forked from mwitkow/go-flagz
-
Notifications
You must be signed in to change notification settings - Fork 1
Add support for go modules. #1
Open
crufter
wants to merge
7
commits into
master
Choose a base branch
from
go-modules
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
eac8714
Add support for go modules.
stefan-improbable 19e4e12
Replace package author name, fixing codecgen version mismatch (https:…
crufter 8e86409
add circle config
thommay be65328
Merge branch 'tmcircle' into go-modules
crufter fdfcfd9
Upgrade Prometheus client from v0.9.2 -> v0.9.3 to fix data race cond…
crufter 49e2463
Fixed compile error but the data race is still there...
crufter 7a0dad9
Fixing test race condition, albeit heavy handedly
crufter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Golang CircleCI 2.0 configuration file | ||
# | ||
# Check https://circleci.com/docs/2.0/language-go/ for more details | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
# specify the version | ||
- image: circleci/golang:1.13.1 | ||
|
||
# Specify service dependencies here if necessary | ||
# CircleCI maintains a library of pre-built images | ||
# documented at https://circleci.com/docs/2.0/circleci-images/ | ||
# - image: circleci/postgres:9.4 | ||
|
||
#### TEMPLATE_NOTE: go expects specific checkout path representing url | ||
#### expecting it in the form of | ||
#### /go/src/github.com/circleci/go-tool | ||
#### /go/src/bitbucket.org/circleci/go-tool | ||
working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}} | ||
steps: | ||
- checkout | ||
|
||
# specify any bash command here prefixed with `run: ` | ||
- run: go get github.com/coreos/etcd | ||
- run: go get github.com/mwitkow/go-etcd-harness | ||
- run: go get github.com/prometheus/client_golang/prometheus | ||
- run: go get github.com/stretchr/testify | ||
- run: go get github.com/spf13/pflag | ||
- run: go get github.com/fsnotify/fsnotify | ||
- run: go get golang.org/x/net/context | ||
- run: ./test_all.sh |
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
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
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
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
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
module github.com/improbable-eng/go-flagz | ||
|
||
require ( | ||
github.com/coreos/etcd v3.3.12+incompatible | ||
github.com/coreos/go-semver v0.3.0 // indirect | ||
github.com/fsnotify/fsnotify v1.4.7 | ||
github.com/golang/protobuf v1.3.2 | ||
github.com/mwitkow/go-etcd-harness v0.0.0-20160325212926-4dc1cb3e1ff9 | ||
github.com/prometheus/client_golang v1.2.0 | ||
github.com/prometheus/tsdb v0.7.1 // indirect | ||
github.com/spf13/pflag v1.0.5 | ||
github.com/stretchr/testify v1.3.0 | ||
github.com/ugorji/go v1.1.1 // indirect | ||
golang.org/x/net v0.0.0-20190613194153-d28f0bde5980 | ||
) | ||
|
||
go 1.13 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Admitteldy this feels heavy handed and not elegant considering the package mostly uses atomic instead of locking, but the reads and writes happening in
VisitAll
triggered the race detector.