mirror of
https://github.com/bitechdev/ResolveSpec.git
synced 2026-01-06 20:04:25 +00:00
Request interfaces
This commit is contained in:
@@ -7,3 +7,15 @@ type GormTableNameInterface interface {
|
||||
type GormTableSchemaInterface interface {
|
||||
TableSchema() string
|
||||
}
|
||||
|
||||
type GormTableCRUDRequest struct {
|
||||
CRUDRequest *string `json:"crud_request"`
|
||||
}
|
||||
|
||||
func (r *GormTableCRUDRequest) SetRequest(request string) {
|
||||
r.CRUDRequest = &request
|
||||
}
|
||||
|
||||
func (r GormTableCRUDRequest) GetRequest() string {
|
||||
return *r.CRUDRequest
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user