135func (*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 (
88});`)
89}
90
91func (file *FileUploadAction) BtnAttribute() template.HTML {92 return template.HTML(`href="javascript:;"`)
93}
94
49 return "show tables"
50}
51
52func (c commonDialect) ShowColumnsWithComment(schema, table string) string {53 return ""
54}
55
570func (b *BaseComponent) IsAPage() bool { return false }
571func (b *BaseComponent) GetName() string { return b.Name }
572func (b *BaseComponent) GetAssetList() []string { return make([]string, 0) }
573func (b *BaseComponent) GetAsset(name string) ([]byte, error) { return nil, nil }574func (b *BaseComponent) GetJS() template.JS { return b.JS }
575func (b *BaseComponent) GetCSS() template.CSS { return b.CSS }
576func (b *BaseComponent) GetCallbacks() types.Callbacks { return b.Callbacks }
569
570func (b *BaseComponent) IsAPage() bool { return false }
571func (b *BaseComponent) GetName() string { return b.Name }
572func (b *BaseComponent) GetAssetList() []string { return make([]string, 0) }573func (b *BaseComponent) GetAsset(name string) ([]byte, error) { return nil, nil }
574func (b *BaseComponent) GetJS() template.JS { return b.JS }
575func (b *BaseComponent) GetCSS() template.CSS { return b.CSS }
Methods with unused receivers can be a symptom of unfinished refactoring or a bug. To keep the same method signature, omit the receiver name or '_' as it is unused.
func (f *Unix) Name() string {
return "unix"
}
func (_ *Unix) Name() string {
return "unix"
}
func (*Unix) Name() string {
return "unix"
}