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)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay