group

package
v0.0.0-...-bf9679a Latest Latest
Warning

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

Go to latest
Published: May 15, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGroupRepositoryImpl

func NewGroupRepositoryImpl(db *gorm.DB, logger logging.Logging) *groupRepositoryImpl

Types

type GroupRepository

type GroupRepository interface {
	Insert(ctx context.Context, group entity.Group) (err error)
	InsertAll(ctx context.Context, groups []entity.Group) (err error)
	FindAll(ctx context.Context) (groups []entity.Group, err error)
	FindByID(ctx context.Context, id string) (group entity.Group, err error)
	Update(ctx context.Context, id string, group entity.Group) (err error)
	Delete(ctx context.Context, id string) (err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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