Update Structs #486
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#486
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "6543/go-sdk:update-structs"
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 #479
-> EditUserOption: lot of options got optional breaking!
9747aff8b8
to62bf840fae
@ -27,1 +28,4 @@
- [#467 Remove & Rename TrackedTimes list functions](https://gitea.com/gitea/go-sdk/pulls/467)
## Some Fields of Structs got optional
New Optional Fields
@ -28,0 +33,4 @@
The EditUserOption struct is only affected currently.
For example Email type changed from `string` to `*string`.
The easyest migration path is, to war your options with:
s/easyest/easiest
I don't understand
to war your options with
?@ -80,1 +79,4 @@
}
case GitServiceGogs:
if len(opt.AuthToken) == 0 {
return fmt.Errorf("gogs require token authentication")
gogs requires token authentication
@ -28,0 +30,4 @@
## New Optional Fields
`EditUserOption` struct is has gained several new Optional fields.
The
EditUserOption
struct has gained several new Optional fields.Apart from the double period at the end of the line. LGTM.
@ -28,0 +30,4 @@
## New Optional Fields
The `EditUserOption` struct has gained several new Optional fields..
oops double terminal period here