Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Change time fields from *time.Time to *ISOTime
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcohen2 committed Aug 26, 2024
1 parent feb5c71 commit 466b535
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions group_milestones.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,19 @@ func (m GroupMilestone) String() string {
// https://docs.gitlab.com/ee/api/group_milestones.html#list-group-milestones
type ListGroupMilestonesOptions struct {
ListOptions
IIDs *[]int `url:"iids[],omitempty" json:"iids,omitempty"`
State *string `url:"state,omitempty" json:"state,omitempty"`
Title *string `url:"title,omitempty" json:"title,omitempty"`
Search *string `url:"search,omitempty" json:"search,omitempty"`
SearchTitle *string `url:"search_title,omitempty" json:"search_title,omitempty"`
IncludeParentMilestones *bool `url:"include_parent_milestones,omitempty" json:"include_parent_milestones,omitempty"`
IncludeAncestors *bool `url:"include_ancestors,omitempty" json:"include_ancestors,omitempty"`
IncludeDescendents *bool `url:"include_descendents,omitempty" json:"include_descendents,omitempty"`
UpdatedBefore *time.Time `url:"updated_before,omitempty" json:"updated_before,omitempty"`
UpdatedAfter *time.Time `url:"updated_after,omitempty" json:"updated_after,omitempty"`
ContainingDate *time.Time `url:"containing_date,omitempty" json:"containing_date,omitempty"`
StartDate *time.Time `url:"start_date,omitempty" json:"start_date,omitempty"`
EndDate *time.Time `url:"end_date,omitempty" json:"end_date,omitempty"`
IIDs *[]int `url:"iids[],omitempty" json:"iids,omitempty"`
State *string `url:"state,omitempty" json:"state,omitempty"`
Title *string `url:"title,omitempty" json:"title,omitempty"`
Search *string `url:"search,omitempty" json:"search,omitempty"`
SearchTitle *string `url:"search_title,omitempty" json:"search_title,omitempty"`
IncludeParentMilestones *bool `url:"include_parent_milestones,omitempty" json:"include_parent_milestones,omitempty"`
IncludeAncestors *bool `url:"include_ancestors,omitempty" json:"include_ancestors,omitempty"`
IncludeDescendents *bool `url:"include_descendents,omitempty" json:"include_descendents,omitempty"`
UpdatedBefore *ISOTime `url:"updated_before,omitempty" json:"updated_before,omitempty"`
UpdatedAfter *ISOTime `url:"updated_after,omitempty" json:"updated_after,omitempty"`
ContainingDate *ISOTime `url:"containing_date,omitempty" json:"containing_date,omitempty"`
StartDate *ISOTime `url:"start_date,omitempty" json:"start_date,omitempty"`
EndDate *ISOTime `url:"end_date,omitempty" json:"end_date,omitempty"`
}

// ListGroupMilestones returns a list of group milestones.
Expand Down

0 comments on commit 466b535

Please sign in to comment.