read

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHostReadService

type GitHostReadService interface {
	GetAll() ([]bean2.GitHostRequest, error)
	GetById(id int) (*bean2.GitHostRequest, error)
	GetByName(uniqueName string) (*bean2.GitHostRequest, error)
}

type GitHostReadServiceImpl

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

func NewGitHostReadServiceImpl

func NewGitHostReadServiceImpl(logger *zap.SugaredLogger,
	gitHostRepo repository.GitHostRepository,
	attributeService attributes.AttributesService) *GitHostReadServiceImpl

func (*GitHostReadServiceImpl) GetAll

func (impl *GitHostReadServiceImpl) GetAll() ([]bean2.GitHostRequest, error)

get all git hosts

func (*GitHostReadServiceImpl) GetById

func (impl *GitHostReadServiceImpl) GetById(id int) (*bean2.GitHostRequest, error)

get git host by Id

func (*GitHostReadServiceImpl) GetByName

func (impl *GitHostReadServiceImpl) GetByName(uniqueName string) (*bean2.GitHostRequest, error)

get git host by Name

Jump to

Keyboard shortcuts

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