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

Method TableUnique

models/reading_time.go:52–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52func (*ReadingTime) TableUnique() [][]string {
53 return [][]string{[]string{"uid", "day"}}
54}
55
56func (r *ReadingTime) GetReadingTime(uid int, prd period) int {
57 sum := &sum{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected