Commit 4016c5be authored by Daniel Martí's avatar Daniel Martí

Be consistent about *At being of type time.Time

parent 66f66b30
...@@ -52,17 +52,17 @@ type Project struct { ...@@ -52,17 +52,17 @@ type Project struct {
MergeRequestsEnabled bool `json:"merge_requests_enabled"` MergeRequestsEnabled bool `json:"merge_requests_enabled"`
WikiEnabled bool `json:"wiki_enabled"` WikiEnabled bool `json:"wiki_enabled"`
SnippetsEnabled bool `json:"snippets_enabled"` SnippetsEnabled bool `json:"snippets_enabled"`
CreatedAt string `json:"created_at"` CreatedAt time.Time `json:"created_at"`
LastActivityAt string `json:"last_activity_at"` LastActivityAt time.Time `json:"last_activity_at"`
CreatorID int `json:"creator_id"` CreatorID int `json:"creator_id"`
Namespace struct { Namespace struct {
CreatedAt string `json:"created_at"` CreatedAt time.Time `json:"created_at"`
Description string `json:"description"` Description string `json:"description"`
ID int `json:"id"` ID int `json:"id"`
Name string `json:"name"` Name string `json:"name"`
OwnerID int `json:"owner_id"` OwnerID int `json:"owner_id"`
Path string `json:"path"` Path string `json:"path"`
UpdatedAt string `json:"updated_at"` UpdatedAt time.Time `json:"updated_at"`
} `json:"namespace"` } `json:"namespace"`
Archived bool `json:"archived"` Archived bool `json:"archived"`
AvatarURL string `json:"avatar_url"` AvatarURL string `json:"avatar_url"`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment