MCPcopy Create free account
hub / github.com/TruthHun/BookStack / Less

Method Less

models/book.go:100–100  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

98func (s BookNavs) Swap(i, j int) { s[i], s[j] = s[j], s[i] }
99
100func (s BookNavs) Less(i, j int) bool { return s[i].Sort < s[j].Sort }
101
102// TableName 获取对应数据库表名.
103func (m *Book) TableName() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected