Documentation ¶
Index ¶
- func DeletedObjectHandler[T any](db *gorm.DB) echo.MiddlewareFunc
- func GetObjectFromEchoContext[T any](c echo.Context) *T
- func ListAnyObjects(db *gorm.DB, c echo.Context, tableName string, ...) ([]map[string]any, int64, error)
- func ListDeletedObjects[T any](db *gorm.DB, c echo.Context, selectNames []string, ...) ([]T, int64, error)
- func ListObjects[T any](db *gorm.DB, c echo.Context, selectNames []string, ...) ([]T, int64, error)
- func ObjectHandler[T any](db *gorm.DB) echo.MiddlewareFunc
- func TSObjectHandler[T any](db *gorm.DB) echo.MiddlewareFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeletedObjectHandler ¶
func GetObjectFromEchoContext ¶
func GetObjectFromEchoContext[T any](c echo.Context) *T
func ListAnyObjects ¶
func ListDeletedObjects ¶
func ListObjects ¶
func ObjectHandler ¶
func TSObjectHandler ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.