Skip to content

Instantly share code, notes, and snippets.

@huseyin
Last active August 6, 2016 22:34
Show Gist options
  • Save huseyin/b23a9e312f9f8d008c2f099dfc19565d to your computer and use it in GitHub Desktop.
Save huseyin/b23a9e312f9f8d008c2f099dfc19565d to your computer and use it in GitHub Desktop.
dart go example
image: ubuntu:latest
name: main-go
directives:
- ["mkdir", "/root/gopath"]
env: ["GOPATH=/root/gopath"]
deps:
lang: "deb"
packages:
- golang
workdir: "/root/go"
files:
- "main.go"
cmd: ["go", "run", "main.go"]
compare_io:
io: output
source: "Merhaba dünya"
kill_timeout: 10
username: "htaslan"
email: "[email protected]"
report_configs:
attach: false
logs:
attach_stdio: false
format: json
package main
import "fmt"
func main() {
for {
fmt.Println("Merhaba dünya")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment