tables.go 572 B

123456789101112131415161718192021222324
  1. // This file is generated by GoAdmin CLI adm.
  2. package tables
  3. import "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
  4. // Generators is a map of table models.
  5. //
  6. // The key of Generators is the prefix of table info url.
  7. // The corresponding value is the Form and Table data.
  8. //
  9. // http://{{config.Domain}}:{{Port}}/{{config.Prefix}}/info/{{key}}
  10. //
  11. // example:
  12. //
  13. // "certify_info" => http://localhost:9033/admin/info/certify_info
  14. //
  15. // example end
  16. //
  17. var Generators = map[string]table.Generator{
  18. "certify_info": GetCertifyInfoTable,
  19. // generators end
  20. }