Registry / testing / google-gofuzz

google-gofuzz

JSON →
library1.2.0gogounverified

Package fuzz is a library for populating go objects with random values.

go get github.com/google/gofuzz
INSTALL
IMPORT
SIG · GOOGLE-GOFUZZ
G
google-gofuzz
testinggov1.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

fuzz
github.com/google/gofuzz

Fuzz a struct with random values

package main import ( "fmt" "github.com/google/gofuzz" ) func main() { type Person struct { Name string Age int } var p Person fuzz.New().Fuzz(&p) fmt.Printf("%+v\n", p) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
google-gofuzz — go get google-gofuzz · libregistry