mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-23 10:21:00 +00:00
Add JSON struct tags to Work for lowercase props
This commit is contained in:
parent
3d839498a1
commit
850fbd170a
1 changed files with 4 additions and 4 deletions
|
@ -3,10 +3,10 @@ package worker
|
|||
import "github.com/drone/drone/shared/model"
|
||||
|
||||
type Work struct {
|
||||
Host string
|
||||
User *model.User
|
||||
Repo *model.Repo
|
||||
Commit *model.Commit
|
||||
Host string `json:"host"`
|
||||
User *model.User `json:"user"`
|
||||
Repo *model.Repo `json:"repo"`
|
||||
Commit *model.Commit `json:"commit"`
|
||||
}
|
||||
|
||||
type Assignment struct {
|
||||
|
|
Loading…
Reference in a new issue