github brianvoe/gofakeit v7.3.0
ISBN

latest releases: v7.5.1, v7.5.0, v7.4.0...
2 months ago

📚 New Feature: ISBN Generation

This release adds support for generating valid ISBN identifiers, perfect for mock book data or publishing applications.

Generate a valid ISBN-10 or ISBN-13 string with customizable separator.

gofakeit.ISBN(ISBNOptions{Version: "13", Separator: "-"}) // "978-1-2345-6789-0"

🧰 Options

Field Description
Version "10" or "13" (default is "13")
Separator Custom string separator (e.g. "-", "")

Thanks to @phoenisx , gofakeit is even more versatile for testing systems that work with books, publishing tools, or educational content.

Don't miss a new gofakeit release

NewReleases is sending notifications on new releases.