MCPcopy Index your code
hub / github.com/TruthHun/BookStack / GetPositions

Method GetPositions

models/ads.go:243–247  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

241}
242
243func (m *AdsCont) GetPositions() []AdsPosition {
244 var positions []AdsPosition
245 orm.NewOrm().QueryTable(NewAdsPosition()).OrderBy("is_mobile").All(&positions)
246 return positions
247}
248
249func (m *AdsCont) Lists(isMobile bool, status ...bool) (ads []AdsCont) {
250 var (

Callers 1

AdsMethod · 0.80

Calls 2

NewAdsPositionFunction · 0.85
AllMethod · 0.45

Tested by

no test coverage detected