shad-go/lectures/09-io/discard/main.go
2020-04-23 04:40:13 +03:00

11 lines
141 B
Go

package main
import (
"io"
"io/ioutil"
"strings"
)
func main() {
_, _ = io.Copy(ioutil.Discard, strings.NewReader("nothing of use"))
}