Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConfigDefaultPermission = 0o666 ScriptDefaultPermissions = 0o755 DirDefaultPermissions = 0o777 )
Variables ¶
View Source
var ErrCannotFindOutEditor = errors.New("cannot find out editor")
Functions ¶
func NewAppConfig ¶
func NewScriptConfig ¶
Types ¶
type FlagEditor ¶
type FlagEditor struct {
Value string
}
func (*FlagEditor) Get ¶
func (f *FlagEditor) Get() (string, error)
func (*FlagEditor) Set ¶
func (f *FlagEditor) Set(value string) error
func (*FlagEditor) String ¶
func (f *FlagEditor) String() string
func (*FlagEditor) Type ¶
func (f *FlagEditor) Type() string
Click to show internal directories.
Click to hide internal directories.