Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MySnippets = golang.SnippetFuncs( func(cx *golang.CompletionCtx) []mg.Completion { if !cx.Scope.Is(golang.BlockScope) { return nil } return []mg.Completion{ { Query: "if err", Title: "err != nil { return }", Src: "if ${1:err} != nil {\n\treturn $0\n}", }, } }, )
MySnippets is a slice of functions returning our own snippets
Functions ¶
Types ¶
type DayTimeStatus ¶
type DayTimeStatus struct {
mg.ReducerType
}
DayTimeStatus adds the current day and time to the status bar
func (DayTimeStatus) RMount ¶
func (dts DayTimeStatus) RMount(mx *mg.Ctx)
Click to show internal directories.
Click to hide internal directories.