package
0.0.66
Repository: https://github.com/forbearing/golib.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
GormScannerWrapper converts object to GormScanner that can be used in GORM.
Register table with records and it will be created in database before any curd..
RegisterRoutes register one route path with multiple api verbs.
RegisterTo same as Register but with custom database instances.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Records is the table records must be pr-eexists before any database curd, its register by register function.
No description provided by the author
No description provided by the author
Routes is a map slice that element is map[string][]Verb The map key is the route path, eg: '/asset' or 'asset' or '/api/asset' (the prefiex /api will be remove automatically).
Tables is the database table that should created automatically when app bootstraping.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Base implement types.Model interface.
No description provided by the author
No description provided by the author
CasbinRule RBAC 包中会通过 gormadapter.NewAdapterByDBWithCustomTable(database.DB, &model.CasbinRule{}) 或 gormadapter.NewAdapterByDB(database.DB) 来创建; NOTE: ID 类型必须是整型.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Menu: 菜单 TODO: 加一个 api 用来指定后端路由,如果为空则使用 Path.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Record is table record.
No description provided by the author
No description provided by the author
TableColumn 表格的列.
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author