When working with Go, we always strive to test, one thing we want to test, is the terminal output, this is a simple way for testing the standard output. Testing the terminal output // save copy of std out old := os.Stdout //create read and write pupe...
go.mohamedallam.tech2 min read
No responses yet.