Help us shape the future of Go! Take the 2026 Go Developer Survey

read

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2025 License: Apache-2.0 Imports: 4 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TeamReadService

type TeamReadService interface {
	FindAllActive() ([]bean.TeamRequest, error)
	FindOne(id int) (*bean.TeamRequest, error)
	FindByTeamName(name string) (*bean.TeamRequest, error)
	FindByIds(ids []*int) ([]*bean.TeamRequest, error)
	FindAllActiveTeamNames() ([]string, error)
}

type TeamReadServiceImpl

type TeamReadServiceImpl struct {
	// contains filtered or unexported fields
}

func NewTeamReadService

func NewTeamReadService(logger *zap.SugaredLogger,
	teamRepository repository.TeamRepository) *TeamReadServiceImpl

func (TeamReadServiceImpl) FindAllActive

func (impl TeamReadServiceImpl) FindAllActive() ([]bean.TeamRequest, error)

func (TeamReadServiceImpl) FindAllActiveTeamNames

func (impl TeamReadServiceImpl) FindAllActiveTeamNames() ([]string, error)

func (TeamReadServiceImpl) FindByIds

func (impl TeamReadServiceImpl) FindByIds(ids []*int) ([]*bean.TeamRequest, error)

func (TeamReadServiceImpl) FindByTeamName

func (impl TeamReadServiceImpl) FindByTeamName(name string) (*bean.TeamRequest, error)

func (TeamReadServiceImpl) FindOne

func (impl TeamReadServiceImpl) FindOne(id int) (*bean.TeamRequest, error)

Jump to

Keyboard shortcuts

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