@kjk1/

book iota

Go

No description

fork
loading
Files
  • main.go

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.6243666790695355","path":"main.go","file":{"path":"main.go","content":{"asEncoding":{"base64":"CnBhY2thZ2UgbWFpbgoKaW1wb3J0ICJmbXQiCgpmdW5jIG1haW4oKSB7CgkvLyA6c2hvdyBzdGFydAoJY29uc3QgKAoJCUxvdyA9IGlvdGEKCQlNZWRpdW0KCQlIaWdoCgkpCglmbXQuUHJpbnRmKCJMb3c6ICVkXG5NZWRpdW06ICVkXG5IaWdoOiAlZFxuIiwgTG93LCBNZWRpdW0sIEhpZ2gpCgoJLy8gOnNob3cgZW5kCn0="},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package main

import "fmt"

func main() {
	// :show start
	const (
		Low = iota
		Medium
		High
	)
	fmt.Printf("Low: %d\nMedium: %d\nHigh: %d\n", Low, Medium, High)

	// :show end
}