gofakeit

command
v6.20.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2022 License: MIT Imports: 7 Imported by: 0

README

Gofakeit Command Line Tool

Run gofakeit via that command line. All functions are available to run in lowercase and if they require additional parameters you may pass by space seperation.

Installation
go install -v github.com/brianvoe/gofakeit/v6/cmd/gofakeit@latest
Example
gofakeit firstname // billy
gofakeit sentence 5 // Exercitationem occaecati sed dignissimos inventore.
gofakeit shufflestrings hello,world,whats,up // up,hello,whats,world

// You can also pass in a length flag to output a specific function multiple times
gofakeit sentence -loop=5
List of available functions
gofakeit list

// You may also pass a category and/or function to get a specific function data
gofakeit list [category] [function]

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL