module_empty.go 712 B

1234567891011121314151617181920212223242526272829303132333435
  1. package modules
  2. import (
  3. utils "golang-fave/engine/wrapper/utils"
  4. )
  5. func (this *Module) Module_empty() {
  6. // Do something here...
  7. }
  8. func (this *Module) Module_empty_display() bool {
  9. return true
  10. }
  11. func (this *Module) Module_empty_alias() string {
  12. return "empty"
  13. }
  14. func (this *Module) Module_empty_name() string {
  15. return "Empty"
  16. }
  17. func (this *Module) Module_empty_submenu() []utils.ModuleSubMenu {
  18. result := make([]utils.ModuleSubMenu, 0)
  19. result = append(result, utils.ModuleSubMenu{Alias: "default", Name: "Some list"})
  20. return result
  21. }
  22. func (this *Module) Module_empty_content() string {
  23. return "Empty content"
  24. }
  25. func (this *Module) Module_empty_sidebar() string {
  26. return "Empty right sidebar"
  27. }