format code
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
//
|
||||
// AddHealthCheck("database",&DatabaseCheck{})
|
||||
//
|
||||
// more docs: http://beego.vip/docs/module/toolbox.md
|
||||
package toolbox
|
||||
|
||||
import (
|
||||
|
||||
@@ -237,6 +237,7 @@ func (ms *MapSorter) Sort() {
|
||||
}
|
||||
|
||||
func (ms *MapSorter) Len() int { return len(ms.Keys) }
|
||||
|
||||
func (ms *MapSorter) Less(i, j int) bool {
|
||||
if ms.Vals[i].GetNext(context.Background()).IsZero() {
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user