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

Function init

controllers/api/BaseController.go:167–174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

165var weixinTagsMap, appTagsMap sync.Map
166
167func init() {
168 for _, tag := range weixinTags {
169 weixinTagsMap.Store(tag, true)
170 }
171 for _, tag := range appTags {
172 appTagsMap.Store(tag, true)
173 }
174}
175
176//###################################//
177

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected