Fix copypasta fail.
parent
daa2878117
commit
1d2adea2d6
|
@ -30,7 +30,7 @@ func (r CompetitionFixturesRequest) TimeFrameStart(date time.Time) CompetitionFi
|
||||||
// TimeFrameEnd modifies the request to specify the end of the time frame filter for the returned results.
|
// TimeFrameEnd modifies the request to specify the end of the time frame filter for the returned results.
|
||||||
//
|
//
|
||||||
// Only the year, month and day of the Time value will be used for the request.
|
// Only the year, month and day of the Time value will be used for the request.
|
||||||
func (r CompetitionFixturesRequest) TimeFrameStart(date time.Time) CompetitionFixturesRequest {
|
func (r CompetitionFixturesRequest) TimeFrameEnd(date time.Time) CompetitionFixturesRequest {
|
||||||
r.urlValues.Set("timeFrameEnd", date.Format(timeFrameLayout))
|
r.urlValues.Set("timeFrameEnd", date.Format(timeFrameLayout))
|
||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@ func (r FixturesRequest) TimeFrameStart(date time.Time) FixturesRequest {
|
||||||
// TimeFrameEnd modifies the request to specify the end of the time frame filter for the returned results.
|
// TimeFrameEnd modifies the request to specify the end of the time frame filter for the returned results.
|
||||||
//
|
//
|
||||||
// Only the year, month and day of the Time value will be used for the request.
|
// Only the year, month and day of the Time value will be used for the request.
|
||||||
func (r FixturesRequest) TimeFrameStart(date time.Time) FixturesRequest {
|
func (r FixturesRequest) TimeFrameEnd(date time.Time) FixturesRequest {
|
||||||
r.urlValues.Set("timeFrameEnd", date.Format(timeFrameLayout))
|
r.urlValues.Set("timeFrameEnd", date.Format(timeFrameLayout))
|
||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue