repository

package
v0.0.0-...-cafa37b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DemoStruct

type DemoStruct struct {
	Id    int
	Count int
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL