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

read

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: Apache-2.0 Imports: 4 Imported by: 3

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