From 07ab3a77b44944a1ac234fbd717391f36370416e Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Tue, 17 Oct 2017 18:12:57 -0600 Subject: initial public commit --- bin/go-playground | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 bin/go-playground (limited to 'bin/go-playground') diff --git a/bin/go-playground b/bin/go-playground new file mode 100755 index 0000000..37675d0 --- /dev/null +++ b/bin/go-playground @@ -0,0 +1,5 @@ +#!/bin/sh +cd "$(mktemp -d)"; +go mod init local-playground; +echo -e 'package main\n\nimport (\n\t"fmt"\n)\n\nfunc main() {\n\tfmt.Println("aloha")\n}\n' > main.go; +$EDITOR main.go; -- cgit v1.2.3