Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdRepositoryInterface ¶
type FsMockRepository ¶
type FsMockRepository struct {
Files []string
}
func (*FsMockRepository) Ext ¶
func (repo *FsMockRepository) Ext(path string) string
func (*FsMockRepository) IsExist ¶
func (repo *FsMockRepository) IsExist(path string) bool
func (*FsMockRepository) WorkDir ¶
func (repo *FsMockRepository) WorkDir() (string, error)
type FsRepository ¶
type FsRepository struct{}
func (*FsRepository) Ext ¶
func (repo *FsRepository) Ext(path string) string
func (*FsRepository) IsExist ¶
func (repo *FsRepository) IsExist(path string) bool
func (*FsRepository) WorkDir ¶
func (repo *FsRepository) WorkDir() (string, error)
type FsRepositoryInterface ¶
type LogRepository ¶
type LogRepository struct{}
func (*LogRepository) Ask ¶ added in v0.0.5
func (repo *LogRepository) Ask(message string, defaultValue string) (string, error)
func (*LogRepository) Confirm ¶ added in v0.0.5
func (repo *LogRepository) Confirm(message string) (bool, error)
func (*LogRepository) Fatal ¶
func (repo *LogRepository) Fatal(err error)
func (*LogRepository) Info ¶
func (repo *LogRepository) Info(format string, v ...any)
type LogRepositoryInterface ¶
type Repos ¶
type Repos struct { Cmd CmdRepositoryInterface Fs FsRepositoryInterface Log LogRepositoryInterface }
Click to show internal directories.
Click to hide internal directories.