Update imports to make this repo no longer a fork in terms of import paths #2
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.
Summary
Update imports to make this repo no longer a fork in terms of import paths. This repo will no longer be
github.com/throttled/throttled
available at a different URL, instead it will begithub.com/bartekn/throttled
.Goal and scope
This package is imported into the
stellar/go
repository as a fork ofgithub.com/throttled/throttled
. In recent versions of Go Modules there appears to be a bug (golang/go#33795) that cause packages that don't have ago.mod
whenreplace
d to not be importable. To make migrating to Go Modules (stellar/go#1634) easier it will be lower effort and less blocking to simply change this repository to standalone rather than be a fork. In principle since this fork has diverged significantly it's unlikely to be merged back upstream anyway.Summary of changes
github.com/bartekn/throttled
indoc.go
.github.com/bartekn/throttled
in_test.go
files.