mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-08 17:08:17 +01:00
fix gofmt
Signed-off-by: 陈德 <chende@caicloud.io>
This commit is contained in:
parent
666bd692fe
commit
a59af8ce82
@ -22,16 +22,16 @@ import (
|
||||
"github.com/goharbor/harbor/src/common/models"
|
||||
)
|
||||
|
||||
var orderMap = map[string]string {
|
||||
"name": "name asc",
|
||||
"+name": "name asc",
|
||||
"-name": "name desc",
|
||||
"creation_time": "creation_time asc",
|
||||
var orderMap = map[string]string{
|
||||
"name": "name asc",
|
||||
"+name": "name asc",
|
||||
"-name": "name desc",
|
||||
"creation_time": "creation_time asc",
|
||||
"+creation_time": "creation_time asc",
|
||||
"-creation_time": "creation_time desc",
|
||||
"update_time": "update_time asc",
|
||||
"+update_time": "update_time asc",
|
||||
"-update_time": "update_time desc",
|
||||
"update_time": "update_time asc",
|
||||
"+update_time": "update_time asc",
|
||||
"-update_time": "update_time desc",
|
||||
}
|
||||
|
||||
// AddRepository adds a repo to the database.
|
||||
|
Loading…
Reference in New Issue
Block a user