@kjk1/

gobook function literal 2

Go

No description

fork
loading
Files
  • main.go

This Plugin Crashed!

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

import "fmt"

// :show start
func main() {
	func(str string) {
		fmt.Println(str)
	}("Hello!")
}

// :show end