module_empty.go 774 B

123456789101112131415161718192021222324252627282930313233343536373839
  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_order() int {
  18. return 999
  19. }
  20. func (this *Module) Module_empty_submenu() []utils.ModuleSubMenu {
  21. result := make([]utils.ModuleSubMenu, 0)
  22. result = append(result, utils.ModuleSubMenu{Alias: "default", Name: "Some list"})
  23. return result
  24. }
  25. func (this *Module) Module_empty_content() string {
  26. return "Empty content"
  27. }
  28. func (this *Module) Module_empty_sidebar() string {
  29. return "Empty right sidebar"
  30. }