{"modulePath":"github.com/cppfuns/go-admin","version":"v0.0.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package datamodel\n\n## Variables\n\n```go\nvar Generators = map[string]models.TableGenerator{\n\t\"user\":    GetUserTable,\n\t\"posts\":   GetPostsTable,\n\t\"authors\": GetAuthorsTable,\n}\n```\nThe key of Generators is the prefix of table info url. The corresponding value is the Form and Table data.\n\n## Functions\n\n```go\nfunc GetAuthorsTable() (authorsTable models.Table)\n```\n\n```go\nfunc GetContent() types.Panel\n```\n\n```go\nfunc GetPostsTable() (postsTable models.Table)\n```\n\n```go\nfunc GetUserTable() (userTable models.Table)\n```\n\n","path":"github.com/cppfuns/go-admin/examples/datamodel","name":"datamodel","synopsis":"","isRedistributable":true}
