Use enum AccessMode for OrgTeam and Collaborator functions #408
No reviewers
Labels
No Label
has/backport
has/pull
in progress
invalid
kind/breaking
kind/bug
kind/build
kind/deployment
kind/docs
kind/enhancement
kind/feature
kind/lint
kind/proposal
kind/question
kind/refactor
kind/security
kind/testing
kind/translation
kind/ui
need/backport
priority/critical
priority/low
priority/maybe
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
skip-changelog
status/blocked
status/needs-feedback
status/needs-reviews
status/wip
upstream/gitea
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/go-sdk#408
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "6543/go-sdk:enum-access-mode"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
close #337 and update OrgTeam structs
@ -50,0 +53,4 @@
The following functions are affected: ListOrgTeams, ListMyTeams, GetTeam, CreateTeam, EditTeam and AddCollaborator
Fhe field `Permission` type string has been replaced with **AccessMode**, which represent the raw strings you must use before.
@ -50,0 +54,4 @@
The following functions are affected: ListOrgTeams, ListMyTeams, GetTeam, CreateTeam, EditTeam and AddCollaborator
Fhe field `Permission` type string has been replaced with **AccessMode**, which represent the raw strings you must use before.
Just replace the string with the AccessMode equivalence.
equivalent
Small phrasing nits o/w lg-tm.