Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultTutorial = "enabled"
View Source
const TutorialFile = "tutorial.json"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FindManager ¶
type FindManager struct {
// contains filtered or unexported fields
}
func NewFinder ¶
func NewFinder(homePath string) FindManager
func (FindManager) Find ¶
func (f FindManager) Find() (TutorialHolder, error)
type FindSetter ¶
type FindSetterManager ¶
func NewFindSetter ¶
func NewFindSetter(f Finder, s Setter) FindSetterManager
type Finder ¶
type Finder interface {
Find() (TutorialHolder, error)
}
type Setter ¶
type Setter interface {
Set(tutorial string) (TutorialHolder, error)
}
type SetterManager ¶
type SetterManager struct {
// contains filtered or unexported fields
}
func (SetterManager) Set ¶
func (s SetterManager) Set(tutorial string) (TutorialHolder, error)
type TutorialHolder ¶
type TutorialHolder struct {
Current string `json:"tutorial"`
}
Click to show internal directories.
Click to hide internal directories.