turbo-editors/configspublic Fork 0
main
Commits
Clone
git clone https://git.rickub.com/turbo-editors/configs.git
git clone ssh://git@rickub.com/turbo-editors/configs.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

snippets.toml · 30 lines · 358 BTOML Blame HistoryRaw
🛟 Updated. cd4c4c7 k33g 11h ago1# turbo-go snippets.
2#
3[[snippet]]
4group = "Go"
5name = "main"
6languages = ["go"]
7body = """package main
8
9import "fmt"
10
11func main() {
12 fmt.Println("hello world")
13}"""
14
15[[snippet]]
16group = "Go"
17name = "switch"
18languages = ["go"]
19body = """
20 i := 1
21
22 switch i {
23 case 1:
24 fmt.Println("one")
25 case 2:
26 fmt.Println("two")
27 case 3:
28 fmt.Println("three")
29 }
30"""