CheckOps
Gofakeit
Gofakeit is an MIT-licensed random fake data generator for Go with zero dependencies, hundreds of functions, struct filling via tags and concurrency-safe use.
Latest public signals
Not refreshed yet. Refresh reads the public site and, when the entry has a GitHub repository, the latest release.
Introduction
Gofakeit is a random data generator written in Go, according to its README, with about 5,400 GitHub stars.
It offers hundreds of functions for names, emails, phones, addresses, companies, colours, beers, dates, numbers, strings and more, called as gofakeit.Name() or through a seeded faker instance. Structs can be filled automatically with gofakeit.Struct(), using fake tags to control values. It has zero dependencies and provides concurrency-safe sources.
The latest release, v7.9.0, was in November 2025, with commits in November 2026.
In the quality loop it supports Go unit and integration tests.
The source code is at brianvoe/gofakeit on GitHub under the MIT licence, with about 5,400 stars; the most recent commit was on 10 November 2026.
Features
- Many functions: Wide range of data types.
- Struct filling: Populate structs with tags.
- Seeding: Reproducible output.
- Zero dependencies: Lightweight.
- Concurrency-safe: Safe sources for parallel tests.
Pros
- Idiomatic Go: Simple API.
- Free to use: Open source under the MIT licence, so the core tool costs nothing to use.
- Actively maintained: The repository had commits as recent as 10 November 2026.
- Community: About 5,400 GitHub stars.
Cons
- Fewer locales: English-centric data.
Usage and Links (Example)
import "github.com/brianvoe/gofakeit/v7"
name := gofakeit.Name()
email := gofakeit.Email()
Resources:
Pricing
Gofakeit is free and open source under the MIT licence.
Recommended for?
- Go developers needing test data.
- Not a fit for heavily localised data.
Conclusion
Gofakeit is the popular, dependency-free fake data library for Go.
On CheckOps, Gofakeit is filed under the Unit testing and Integration testing stages. Related tools listed here include Faker (Python), Faker (JavaScript), Fake (Rust), Datafaker, Mockaroo and dockertest. Before choosing, compare them on licence, supported languages and platforms, hosting model, and how well each fits your existing CI pipeline. Facts on this page were checked against the official website, documentation and repository on 11 November 2026; statements the vendor makes about its own product are marked as vendor claims.
Alternatives
Other tools on CheckOps that cover similar ground. Open a page, or compare one with Gofakeit side by side.
FFaker (Python)Faker is an MIT-licensed Python package that generates fake but realistic data such as names, addresses, text, dates and identifiers, with dozens of locales, a pytest fixture and seeding for reproducible test data.Compare with Gofakeit
FFaker (JavaScript)Faker is an MIT-licensed JavaScript and TypeScript library that generates large amounts of fake but realistic data, such as people, addresses, dates, finance and commerce values, in over 70 locales, in Node.js and browsers.Compare with Gofakeit
FFake (Rust)Fake is an Apache-2.0 Rust library and command-line tool for generating fake data in multiple languages, with a derive macro for structs and optional integrations with popular crates.Compare with Gofakeit
DDatafakerDatafaker is an Apache-2.0 fake data library for the JVM (Java, Kotlin, Groovy), a modern fork of Java Faker with updated dependencies, many more providers and schema-based generation to CSV, JSON, SQL and more.Compare with Gofakeit
MMockarooMockaroo is a commercial web service for generating realistic test data in CSV, JSON, SQL and Excel formats, with schemas, mock APIs, datasets and a Docker image for private deployment; up to 1,000 rows are free.Compare with Gofakeit
Ddockertestdockertest is an Apache-2.0 Go library from Ory that starts Docker containers for integration tests against real databases and services, and cleans them up afterwards.Compare with Gofakeit