MCPcopy
hub / github.com/eyebluecn/tank / Init

Method Init

code/rest/footprint_controller.go:14–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12}
13
14func (this *FootprintController) Init() {
15 this.BaseController.Init()
16
17 b := core.CONTEXT.GetBean(this.footprintDao)
18 if b, ok := b.(*FootprintDao); ok {
19 this.footprintDao = b
20 }
21
22 b = core.CONTEXT.GetBean(this.footprintService)
23 if b, ok := b.(*FootprintService); ok {
24 this.footprintService = b
25 }
26
27}
28
29func (this *FootprintController) RegisterRoutes() map[string]func(writer http.ResponseWriter, request *http.Request) {
30

Callers

nothing calls this directly

Calls 2

InitMethod · 0.65
GetBeanMethod · 0.65

Tested by

no test coverage detected