News for hackers. Stuff that matters.
Re:Fixing for Loops in Go 1.22 by smasher164 on Tuesday September 19, 2023 @06:54PM (#37578188)
you stick this in your struct

    type noCopy struct{}
    func (*noCopy) Lock()   {}
    func (*noCopy) Unlock() {}

There are no comments on this comment yet.