Radar · Go · Archive · Week 21 · May 19 – 25, 2025
hash: add Clone
Nice to knowstdlib
- What changed
- The
hashpackage now defines aClonerinterface and implementsCloneon most standard library hash types. - Production impact
- The source does not say.
- Try it
- Call
h.Clone()on ahash.Hashvalue. - Source
- github.com/golang/go/issues/69521
Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed