participant

package
v0.0.0-...-054ff44 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParticipantCore

type ParticipantCore struct {
	Id    uint
	Name  string
	Phone string `gorm:"unique"`
	Age   int
	Photo string
}

type RepositoryInterface

type RepositoryInterface interface {
	Create(input ParticipantCore) (row int, err error)
	Update(input ParticipantCore, id uint) error
	GetAll(limit, offset int) (data []ParticipantCore, count int64, err error)
}

type ServiceInterface

type ServiceInterface interface {
	Create(input ParticipantCore) (err error)
	Update(input ParticipantCore, id uint) error
	GetAll(page, limit int) (data []ParticipantCore, totalPage int, err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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