esort

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare(i, j do.OnlineUser) bool

排序规则: 贵族类型(10000权重) + 守护类型(1000权重) + 经验值 的结果从高到低进行排序

func SortRank

func SortRank(rank []do.OnlineUser, count int) []do.OnlineUser

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL