Comments (7)
ListTags
Oh I see. I will do try-and-error again. Thank you. @paranoidd
from go-bitbucket.
c : Client
has a query request generator. Use it each time you call the client for each API request.
from go-bitbucket.
c : Client has a query request generator. Use it each time you call the client for each API request.
This was the part I was missing, got it all running.
Thank you for your help and patience!
from go-bitbucket.
Hmm, let me check. I will try that.
Thank you for your reporting. @paranoidd
from go-bitbucket.
I tried a sample code and it seems to work.
So please check the code uploaded along with go-version. @paranoidd
version: go version go1.15.3 darwin/amd64
code: https://github.com/ktrysmt/go-bitbucket/blob/master/tests/list_test.go
from go-bitbucket.
Hey @ktrysmt, thank you for your reply!
I am sorry if this is a noob question, but in the test you've linked, I do not see ListTags
method being called. The ListForAccount
method from Repositories
works as expected, however when calling log.Println(repos.Items[i].ListTags(tagOpt))
it gives the panic which I listed in the initial message.
I've upgraded the go version to the same as yours and still experiencing the problem :(
from go-bitbucket.
I have updated the sample code to test ListTags. Please check it. @paranoidd
https://github.com/ktrysmt/go-bitbucket/blob/master/tests/list_test.go
from go-bitbucket.
Related Issues (20)
- Allow fetching of PipelineConfig
- Use CI to run tests and lint
- How to parse hooks ? HOT 4
- Repositories.ListForTeam tries to deserialize raw stream
- Error running list_test HOT 9
- Question about Client.Auth HOT 5
- Merge Check with approvals
- error: unsupported protocol scheme for Pipelines.List(opt) HOT 5
- Can't specify max depth when listing files
- Unable to get file content
- Ability to trigger new pipelines
- Add support for managing user & group permissions on repositories HOT 1
- fmt.Errorf call has more than one error-wrapping directive %w HOT 1
- Generate Client Using Swagger HOT 5
- Getting lost with how to download a repo
- Authorization using access tokens HOT 1
- GBB
- Add support for Inherited branch protection setting HOT 1
- feat: Add context support to all POST methods
- Doesn't support self hosted instances
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 go-bitbucket.