MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / GetStrategy

Method GetStrategy

controller/strategy/iml.go:135–137  ·  view source on GitHub ↗
(ctx *gin.Context, id string)

Source from the content-addressed store, hash-verified

133}
134
135func (i *imlStrategyController) GetStrategy(ctx *gin.Context, id string) (*strategy_dto.Strategy, error) {
136 return i.strategyModule.Get(ctx, id)
137}
138
139func (i *imlStrategyController) search(ctx *gin.Context, keyword string, scope strategy_dto.Scope, target string, driver string, page string, pageSize string, order string, sort string, filters string) ([]*strategy_dto.StrategyItem, int64, error) {
140 p, err := strconv.Atoi(page)

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected