From 57285c12c11ea0bf7b39af2cfc770340a222913a Mon Sep 17 00:00:00 2001 From: Özgür Kesim Date: Wed, 4 Sep 2024 20:26:08 +0200 Subject: fix minimum required version glitch --- project.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'project.go') diff --git a/project.go b/project.go index aca73ba..b80f475 100644 --- a/project.go +++ b/project.go @@ -45,7 +45,7 @@ type Version struct { Timestamp time.Time } -type VersionsByDate []Version +type VersionsByDate Versions func (v VersionsByDate) Len() int { return len(v) } func (v VersionsByDate) Less(i, j int) bool { return v[i].Timestamp.Before(v[j].Timestamp) } -- cgit v1.2.3