blaskovicz / playground-golang

OpenFaaS Function to Format, Compile and Run Golang Code, forked from golang/playground.

Home Page:https://www.carlyzach.com/functions/playground?language=go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

playground

This subrepository holds the source for the Go playground: https://play.golang.org/

Building

# build the image
docker build -t playground .

Running

docker run --name=play --rm -d -p 8080:8080 playground
# run some Go code
cat /path/to/code.go | go run client.go | curl -s --upload-file - localhost:8080/compile

Deployment

gcloud --project=golang-org --account=person@example.com app deploy app.yaml

Contributing

To submit changes to this repository, see https://golang.org/doc/contribute.html.

About

OpenFaaS Function to Format, Compile and Run Golang Code, forked from golang/playground.

https://www.carlyzach.com/functions/playground?language=go

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 80.4%Language:HTML 10.2%Language:CSS 5.5%Language:JavaScript 3.2%Language:Makefile 0.7%