Fuzz Testing
Fuzz Testing Go Code: Native go test -fuzz and dvyukov/go-fuzz
Go 1.18 shipped something remarkable: built-in fuzz testing integrated directly into go test. No external tools, no compilation flags, no special setup — just write a FuzzXxx function and run go test -fuzz. This guide covers native Go fuzzing, the older dvyukov/go-fuzz library, and how to write fuzz targets