testservice

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartServer

func StartServer(dbCon *gorm.DB)

Types

type AddTodoHook

type AddTodoHook struct {
	db.DefaultAddHook[model.Todo, model.TodoInput, model.AddTodoPayload]
}

func (AddTodoHook) BeforeCallDb

func (a AddTodoHook) BeforeCallDb(ctx context.Context, db *gorm.DB, data []model.Todo) (*gorm.DB, []model.Todo, error)

Directories

Path Synopsis
db

Jump to

Keyboard shortcuts

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