rtutorial

package
v0.0.0-...-873fb03 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

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 FindSetter interface {
	Finder
	Setter
}

type FindSetterManager

type FindSetterManager struct {
	Finder
	Setter
}

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)
}

func NewSetter

func NewSetter(homePath string) Setter

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL