Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve book descs #342

Merged
merged 1 commit into from
Jan 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions book.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func addBookLookup() {
AddFuncLookup("book", Info{
Display: "Book",
Category: "book",
Description: "Generates a comprehensive book dataset, including title, author, and genre",
Description: "Written or printed work consisting of pages bound together, covering various subjects or stories",
Example: `{
"title": "Anna Karenina",
"author": "Toni Morrison",
Expand All @@ -58,7 +58,7 @@ func addBookLookup() {
AddFuncLookup("booktitle", Info{
Display: "Title",
Category: "book",
Description: "Generates a book title from a diverse range of genres and periods",
Description: "The specific name given to a book",
Example: "Hamlet",
Output: "string",
Generate: func(r *rand.Rand, m *MapParams, info *Info) (any, error) {
Expand All @@ -69,7 +69,7 @@ func addBookLookup() {
AddFuncLookup("bookauthor", Info{
Display: "Author",
Category: "book",
Description: "Generates the name of a book author from various times and places",
Description: "The individual who wrote or created the content of a book",
Example: "Mark Twain",
Output: "string",
Generate: func(r *rand.Rand, m *MapParams, info *Info) (any, error) {
Expand All @@ -80,7 +80,7 @@ func addBookLookup() {
AddFuncLookup("bookgenre", Info{
Display: "Genre",
Category: "book",
Description: "Generates a genre from a wide range of book categories",
Description: "Category or type of book defined by its content, style, or form",
Example: "Adventure",
Output: "string",
Generate: func(r *rand.Rand, m *MapParams, info *Info) (any, error) {
Expand Down