DEV Community

Jesus Gonzalez
Jesus Gonzalez

Posted on

The Go Playground - standard input

#go

📌 When you use The Go Playground, you cannot make interactive programs like this one because it does not allow the input of values by standard input interactively:
https://play.golang.org/p/lvkXx7aB-XV

the program will terminate and will not allow you to enter any value.

📌 Go playground can write on standard output and standard error. Anyway can still receive a value from standard input not interactively.
https://play.golang.org/p/r-uvWSb8UiV

📌 it operates on an in-memory file system, which will allow assigning a value that stores it in memory as standard input. https://github.com/orbs-network/go-nacl-experiment

📝 Playground documentation: Inside the Go Playground https://blog.golang.org/playground

Top comments (0)