Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GitHostWireSet = wire.NewSet( NewGitHostConfigImpl, wire.Bind(new(GitHostConfig), new(*GitHostConfigImpl)), read.NewGitHostReadServiceImpl, wire.Bind(new(read.GitHostReadService), new(*read.GitHostReadServiceImpl)), repository.NewGitHostRepositoryImpl, wire.Bind(new(repository.GitHostRepository), new(*repository.GitHostRepositoryImpl)))
Functions ¶
func GetUniqueGitHostName ¶
Types ¶
type GitHostConfig ¶
type GitHostConfig interface {
Create(request *bean2.GitHostRequest) (int, error)
}
type GitHostConfigImpl ¶
type GitHostConfigImpl struct {
// contains filtered or unexported fields
}
func NewGitHostConfigImpl ¶
func NewGitHostConfigImpl(gitHostRepo repository.GitHostRepository, logger *zap.SugaredLogger) *GitHostConfigImpl
func (GitHostConfigImpl) Create ¶
func (impl GitHostConfigImpl) Create(request *bean2.GitHostRequest) (int, error)
Create in DB
Click to show internal directories.
Click to hide internal directories.