Add createdAt field to Variable type
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
This commit is contained in:
parent
43e3e9410e
commit
94dff4de04
1 changed files with 2 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ type Variable struct {
|
|||
Name string `json:"name"`
|
||||
Value string `json:"value"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
Visibility Visibility `json:"visibility"`
|
||||
SelectedReposURL string `json:"selected_repositories_url"`
|
||||
NumSelectedRepos int `json:"num_selected_repos"`
|
||||
|
|
@ -39,6 +40,7 @@ var VariableJSONFields = []string{
|
|||
"value",
|
||||
"visibility",
|
||||
"updatedAt",
|
||||
"createdAt",
|
||||
"numSelectedRepos",
|
||||
"selectedReposURL",
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue