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

Function NewDownloadCounter

models/download_counter.go:21–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19}
20
21func NewDownloadCounter() *DownloadCounter {
22 return &DownloadCounter{}
23}
24
25func (m *DownloadCounter) Increase(uid int) (err error) {
26 now, _ := strconv.Atoi(time.Now().Format("20060102"))

Callers 3

ExportOldMethod · 0.92
ExportMethod · 0.92
RegisterModelFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected