Add createdAt field to Variable type

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
This commit is contained in:
Babak K. Shandiz 2024-05-26 00:05:04 +01:00
parent 43e3e9410e
commit 94dff4de04
No known key found for this signature in database
GPG key ID: 44950AED81AD710F

View file

@ -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",
}