This mode is used to edit Go code.
If you are learning to use this mode, you might consider printing this
page for easy reference.
Go back to
all mode descriptions.
Command Name | Description |
---|---|
integer | Types "int". |
float | Types float64". |
boolean | Types "bool". |
for | Types "for". |
variable | Types "var". |
nil | Types "nil". |
bite | Types "byte". |
channel | Types "chan". |
constant | Types "const". |
sink | Types "sync". |
fumble | Types "error". |
short fumble | Types "err". |
format fumble | Inserts fmt.Errorf(). |
handle fumble | Inserts code to handle an error. |
format | Types "fmt". |
colon equals | Types ":=". |
equals | Types "=". |
equals equals | Types "==". |
not equals | Types "!=". |
greater than equals | Types ">=". |
less than equals | Types "<=". |
less than hyphen | Types "<-". |
plus plus | Types "++". |
plus equals | Types "+=". |
times | Types "*". |
divided by | Types "/". |
percent | Types "%". |
minus | Types "-". |
plus | Types "+". |
and | Types "&&". |
or | Types "||". |
not | Types "!". |
single | Types the first letter of one utterance word. For example, "single athens" -> "a". The advantage of this command over "lower", is that you can keep talking without having to say "stop". |
double | Types the first letter of two utterance words. For example, "double athens bristol" -> "ab". The advantage of this command over "lower", is that you can keep talking without having to say "stop". |
triple | Types the first letter of three utterance words. For example, "triple athens bristol cuba" -> "abc". The advantage of this command over "lower", is that you can keep talking without having to say "stop". |
append | Types an empty append(). |
length | Types an empty len(). |
function | Inserts an empty function. |
parentheses | Inserts a pair of parentheses. |
print line | Inserts fmt.Println(). |
Inserts fmt.Printf(). | |
sprint | Inserts fmt.Sprintf(). |
quotes | Inserts a pair of quotes. |
brackets | Inserts a pair of brackets. |
braces | Inserts a pair of curly braces. |
imports | Inserts an import statement. |
structure | Types an empty structure. |