Documentation
¶
Index ¶
- Variables
- type Service
- func (c *Service) FindRepo(ctx context.Context, repoURL string) (*types.GitRepo, error)
- func (c *Service) GetCommitBySha(ctx context.Context, repoURL string, sha string) (*types.GitCommit, error)
- func (c *Service) GetLatestCommit(ctx context.Context, repoURL string, branch string) (*types.GitCommit, error)
- func (c *Service) ListBranches(ctx context.Context, repoURL string) ([]*types.GitBranch, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var WireSet = wire.NewSet(ProvideGitpublicService)
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct{}
func NewService ¶
func NewService() *Service
func ProvideGitpublicService ¶
func ProvideGitpublicService() *Service
func (*Service) GetCommitBySha ¶
func (*Service) GetLatestCommit ¶
Click to show internal directories.
Click to hide internal directories.