Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Modes = newModes()
Functions ¶
This section is empty.
Types ¶
type ModesStruct ¶
type ModesStruct struct {
// contains filtered or unexported fields
}
func (*ModesStruct) GetDefaultMode ¶
func (ms *ModesStruct) GetDefaultMode() *Mode
Return the first registered *Mode as default mode
func (*ModesStruct) GetMode ¶
func (ms *ModesStruct) GetMode(filePath string) *Mode
Return the first registered *Mode as default mode
func (*ModesStruct) GetModeByName ¶
func (ms *ModesStruct) GetModeByName(name string) *Mode
Return *Mode by Mode Name
func (ModesStruct) GetModes ¶
func (ms ModesStruct) GetModes() []Mode
Click to show internal directories.
Click to hide internal directories.