v0.0.548
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m56s

This commit is contained in:
Mike Schwörer 2024-12-09 17:39:35 +01:00
parent 49375e90f0
commit 62f2ce9268
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 12 additions and 2 deletions

View File

@ -6,3 +6,13 @@ const (
SortASC SortDirection = "ASC" SortASC SortDirection = "ASC"
SortDESC SortDirection = "DESC" SortDESC SortDirection = "DESC"
) )
func (sd SortDirection) ToMongo() int {
if sd == SortASC {
return 1
} else if sd == SortDESC {
return -1
} else {
return 0
}
}

View File

@ -1,5 +1,5 @@
package goext package goext
const GoextVersion = "0.0.547" const GoextVersion = "0.0.548"
const GoextVersionTimestamp = "2024-12-08T18:04:04+0100" const GoextVersionTimestamp = "2024-12-09T17:39:35+0100"