mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 12:17:24 +00:00
Add AboutPage component and integrate sorting options in resource retrieval
This commit is contained in:
12
server/model/sort.go
Normal file
12
server/model/sort.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package model
|
||||
|
||||
type RSort uint8
|
||||
|
||||
const (
|
||||
RSortTimeAsc RSort = iota
|
||||
RSortTimeDesc
|
||||
RSortViewsAsc
|
||||
RSortViewsDesc
|
||||
RSortDownloadsAsc
|
||||
RSortDownloadsDesc
|
||||
)
|
Reference in New Issue
Block a user