Comments (10)
Still not importing drivers subfolder.
Following dep config works with a workaround
[[constraint]]
name = "github.com/ulule/limiter"
branch = "v3-dep"
[prune]
go-tests = true
unused-packages = true
[[prune.project]]
name = "github.com/ulule/limiter"
unused-packages = false
from limiter.
Hello,
I'm not familiar with the cohabitation of dep and go modules...
Could you try to import github.com/ulule/limiter/v3
with dep?
If that doesn't solve the problems, can you tell me?
I'll have to create another branch to remove the versioning in the import path.
Thank you.
from limiter.
I could not use v3 with dep:
dep ensure -add github.com/ulule/limiter/v3
Fetching sources...
Solving failure: No versions of github.com/ulule/limiter met constraints:
v3.1.0: Could not introduce github.com/ulule/[email protected], as its subpackage github.com/ulule/limiter/v3 is missing. (Package is required by (root).)
v3.0.0: Could not introduce github.com/ulule/[email protected], as its subpackage github.com/ulule/limiter/v3 is missing. (Package is required by (root).)
v2.2.2: Could not introduce github.com/ulule/[email protected], as its subpackage github.com/ulule/limiter/v3 is missing. (Package is required by (root).)
v2.2.1: Could not introduce github.com/ulule/[email protected], as its subpackage github.com/ulule/limiter/v3 is missing. (Package is required by (root).)
v2.2.0: Could not introduce github.com/ulule/[email protected], as its subpackage github.com/ulule/limiter/v3 is missing. (Package is required by (root).)
v2.1.0: Could not introduce github.com/ulule/[email protected], as its subpackage github.com/ulule/limiter/v3 is missing. (Package is required by (root).)
v2.0.0: Could not introduce github.com/ulule/[email protected], as its subpackage github.com/ulule/limiter/v3 is missing. (Package is required by (root).)
v1.0.0: Could not introduce github.com/ulule/[email protected], as its subpackage github.com/ulule/limiter/v3 is missing. (Package is required by (root).)
master: Could not introduce github.com/ulule/limiter@master, as its subpackage github.com/ulule/limiter/v3 is missing. (Package is required by (root).)
dev: Could not introduce github.com/ulule/limiter@dev, as its subpackage github.com/ulule/limiter/v3 is missing. (Package is required by (root).)
v1: Could not introduce github.com/ulule/limiter@v1, as its subpackage github.com/ulule/limiter/v3 is missing. (Package is required by (root).)
v2: Could not introduce github.com/ulule/limiter@v2, as its subpackage github.com/ulule/limiter/v3 is missing. (Package is required by (root).)
from limiter.
Creating a new branch it is...
Thanks for the report.
from limiter.
@montanaflynn Could you try the v3-dep
branch?
from limiter.
@montanaflynn If it fixes this issue, could you close it?
Thank you.
from limiter.
Im still getting the same error even after trying the v3-dep branch.
from limiter.
@domgolonka Have you tried moizjv workaround?
If it doesn't work, I'll gladly review any pull request that tries to fix this incompatibility between dep and go modules. Unfortunately, I don't have much time to take a deeper look at this issue.
from limiter.
Sorry I'm unable to reproduce this error using an up-to-date version of dep
➤ dep version
dep:
version : v0.5.4
build date : 2019-06-14
Please make sure that you are using the branch v3-dep
This is the project I used as reference: https://github.com/novln/limiter-dep-demo
from limiter.
closing the issue, it's time to migrate to go mod
from limiter.
Related Issues (20)
- Reintroduce Ping function to the Client interface HOT 3
- Feature Request: Please can you add rqlite as store HOT 2
- Limit for every 5 minute HOT 1
- Please consider adding SkipList option HOT 1
- Rate limiting based on custom identity HOT 2
- ERR bad lua script for redis cluster HOT 1
- Which time windows does this limiter use? HOT 1
- Custom keys? HOT 1
- limit of dynamic route HOT 1
- Should use the rightmost ip in x-forwarded-for, if used at all HOT 7
- another dynamic limit need HOT 9
- Limiters with momery store are not working as expected HOT 3
- A key can be limited forever HOT 2
- About algorithms HOT 2
- Consider changing the in memory cache library HOT 1
- I plan to consider using limiter middleware in the management system
- Gin Middleware Limiter with momery store are not working
- Consider support long time connection rate limit (Websocket) HOT 1
- Add custom Header value for limiter Option
- Feature Request: Please support goframe framework HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from limiter.