News for hackers. Stuff that matters.
Re:Struct composition with Go by Matt3o12_ on Friday May 22, 2015 @11:12AM (#9588777)
If you just need a close that does not do anything, go has a pretty cool wrapper: `ioutil.NoopCloser`. It takes a reader and returns a reader that can be closed `io.ReadCloser`. Very useful for testing/mocking

There are no comments on this comment yet.