gofuzz is a lightweight fuzzing utility for Go that rapidly generates randomized, edge-case-heavy inputs to populate structs, maps, slices, and scalar fields. It’s engineered to make property tests productive by automatically traversing nested types and supplying varied values, including zero values, extremes, and random strings or byte sequences. Because it respects Go’s type system, it can generate valid shapes for complex generic or composite types with very little setup. Users can register custom functions to influence how certain fields are constructed, which is useful for domains with strict invariants. The library’s determinism controls allow reproducible failures while still offering diverse coverage across runs. Teams reach for gofuzz to smoke out serialization bugs, panics in equality or hashing, and brittle assumptions in business logic.

Features

  • Automatic population of arbitrarily nested Go types
  • Tunable randomness with reproducible seeds
  • Custom field generators for domain-specific constraints
  • Great for property tests and fuzz-style input exploration
  • Minimal boilerplate to add broad input diversity
  • Helps uncover panics, serialization errors, and corner cases

Project Samples

Project Activity

See All Activity >

Categories

Software Testing

License

Apache License V2.0

Follow gofuzz

gofuzz Web Site

Other Useful Business Software
Stop Storing Third-Party Tokens in Your Database Icon
Stop Storing Third-Party Tokens in Your Database

Auth0 Token Vault handles secure token storage, exchange, and refresh for external providers so you don't have to build it yourself.

Rolling your own OAuth token storage can be a security liability. Token Vault securely stores access and refresh tokens from federated providers and handles exchange and renewal automatically. Connected accounts, refresh exchange, and privileged worker flows included.
Try Auth0 for Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of gofuzz!

Additional Project Details

Programming Language

Go

Related Categories

Go Software Testing Tool

Registered

2025-10-10