Update Structs #486
Merged
6543
merged 18 commits from 6543/go-sdk:update-structs
into master
1 year ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch '6543/go-sdk:update-structs'
Deleting a branch is permanent. It CANNOT be undone. Continue?
close #479
-> EditUserOption: lot of options got optional breaking!
9747aff8b8
to62bf840fae
1 year ago- [#467 Remove & Rename TrackedTimes list functions](https://gitea.com/gitea/go-sdk/pulls/467)
## Some Fields of Structs got optional
New Optional Fields
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
?}
case GitServiceGogs:
if len(opt.AuthToken) == 0 {
return fmt.Errorf("gogs require token authentication")
gogs requires token authentication
## 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.
## New Optional Fields
The `EditUserOption` struct has gained several new Optional fields..
oops double terminal period here
8947cd3b00
into master 1 year ago8947cd3b00
.