Get
should return a value RVV-A0006135func (*BaseAdapter) Static(_, _ string) { panic("not implement") }
136
137// GetContent is a helper function of adapter.Content
138func (base *BaseAdapter) GetContent(ctx interface{}, getPanelFn types.GetPanelFn, wf WebFrameWork,139 navButtons types.Buttons, fn context.NodeProcessor) {
140
141 var (
247 response.Ok(ctx)
248}
249
250func (h *Handler) getMenuInfoPanel(ctx *context.Context, plugName string, alert template2.HTML) {251 user := auth.Auth(ctx)
252
253 if plugName == "" {
Typically, functions with names prefixed with Get are supposed to return a value.
func GetData(n int) {
fmt.Println(10 - n)
}
func GetData(n int) int {
fmt.Println(10 - n)
return 10 - n
}