# bxcodec/faker

Go (Golang)  Fake Data  Generator for Struct. [Notes]This repository is archived, moved to the new repository https://github.com/go-faker/faker

Repository: https://github.com/bxcodec/faker
Canonical: https://ross.abutalabs.com/products/bxcodec-faker
Homepage: https://pkg.go.dev/github.com/bxcodec/faker/v4
Language: Go
License: MIT
License Family: permissive
Topics: generator, faker, go, struct, dummy-data, dummy-data-generator, fake-data, mock-data, testing-tools, golang, hactoberfest
Archived: true
Last push: 2022-12-08T09:23:48+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3359, "days_push": 1364, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2079, forks 145 (observed 2026-08-28T04:06:11.506068+00:00)

## What it is
A Go library that generates fake data based on struct definitions using struct tags or single-value functions. This repository is archived and development has moved to github.com/go-faker/faker.

## Use cases
- generate fake test data for Go structs
- populate structs with random values for unit tests
- create mock data for development and demos
- generate random strings, emails, and names in Go
- seed databases with sample data

## When to choose
- you need struct-tag-driven fake data generation in Go
- you want a lightweight faker without external dependencies

## When to avoid
- starting a new project - use the maintained go-faker/faker fork instead
- you need private struct field support
- you need types beyond the supported primitives and time.Time

## Facets
- artifact type: library
- maturity: abandoned
- function: data-generation, testing, mocking
- domain: developer-tools, testing
- platform: go, cross-platform
- tags: faker, fake-data, struct-filling, archived, moved-to-go-faker

## Member repositories
- bxcodec/faker (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:11.506068+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:56:03.786423+00:00, confidence not recorded.
  - readme: https://github.com/bxcodec/faker (fetched 2026-08-28T04:06:11.506068+00:00, sha b26ef4a36c35)
  - homepage: https://pkg.go.dev/github.com/bxcodec/faker/v4 (fetched 2026-08-29T10:36:08.452046+00:00, sha 85d94ebf1768)
  - site_page: https://pkg.go.dev/about (fetched 2026-08-29T10:36:08.464985+00:00, sha 757852027879)
  - site_page: https://go.dev/project (fetched 2026-08-29T10:36:08.467376+00:00, sha d5ca00bb378b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
