Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CreatedAt time.Time UpdatedAt time.Time )
Functions ¶
Types ¶
type PostgresI ¶
type PostgresI interface { // common UpdateSingleField(ctx context.Context, req *models.UpdateSingleFieldReq) error CheckIfExists(ctx context.Context, req *models.CheckIfExistsReq) (*models.CheckIfExistsRes, error) // User UserCreate(ctx context.Context, req *models.UserCreateReq) (*models.UserResponse, error) UserGet(ctx context.Context, req *models.UserGetReq) (*models.UserResponse, error) UserFind(ctx context.Context, req *models.UserFindReq) (*models.UserFindResponse, error) UserUpdate(ctx context.Context, req *models.UserUpdateReq) (*models.UserResponse, error) UserDelete(ctx context.Context, req *models.UserDeleteReq) error // Template TemplateCreate(ctx context.Context, req *models.TemplateCreateReq) (*models.TemplateResponse, error) TemplateGet(ctx context.Context, req *models.TemplateGetReq) (*models.TemplateResponse, error) TemplateFind(ctx context.Context, req *models.TemplateFindReq) (*models.TemplateFindResponse, error) TemplateUpdate(ctx context.Context, req *models.TemplateUpdateReq) (*models.TemplateResponse, error) TemplateDelete(ctx context.Context, req *models.TemplateDeleteReq) error }
Click to show internal directories.
Click to hide internal directories.