Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DemoStruct ¶
type Repository ¶
type Repository struct { postgres_gorm.Plugin // contains filtered or unexported fields }
The Repository represents Model.
func NewRepository ¶
func NewRepository(app toolkit.Service, psql servicepb.PgsqlPlugin) *Repository
NewRepository Model with given configurations.
func (*Repository) Get ¶
func (r *Repository) Get(_ context.Context) *DemoStruct
Click to show internal directories.
Click to hide internal directories.