microsoft / microsoft/azure-devops-go-api

Resource interface{} structure

Open
#155 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
223
Forks
92
PR merge metrics
No merged PRs in 30d

Description

https://github.com/microsoft/azure-devops-go-api/blob/c9e5fa06da2c96efdb063352524aa458e7733bb6/azuredevops/servicehooks/models.go#L101

I did not find the structure of Resource inside Event. who is creating this struct and what will be its value on push and pull event?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at azuredevops/servicehooks/models.go around line 101 and inspect the Event model and its Resource interface{}. Trace the push and pull event models to determine how Resource is populated, then document the structure and values expected for each event.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.