random icon indicating copy to clipboard operation
random copied to clipboard

Random data generator AKA faker

Random

PkgGoDev Build Go Report Card

Random is a library and cli app to generate random data. This app also known as Faker.

Features

  • Cross-Platform
  • Automatically copied into system clipboard

Requirements

  • Go (for library)

Getting Started

1. Install the application

brew install erdaltsksn/tap/random

2. Run the CLI application

random <COMMAND>

Installation

brew install erdaltsksn/tap/random

Updating / Upgrading

brew upgrade erdaltsksn/tap/random

Usage

As a CLI App

You may find the documentation for each command inside the docs folder.

As a library

package main

import (
	"fmt"

	"github.com/erdaltsksn/random"
)

func main() {
	// Generate 16 characters password.
	fmt.Println(random.Password(16))

	// Generate 2 paragraphs dummy text.
	fmt.Println(random.LoremParagraph(3))

	// Generate Turkish Citizen number.
	fmt.Println(random.TC())
}

Getting Help

# Getting help for related command.
random --help
random [command] --help

Contributing

If you want to contribute to this project and make it better, your help is very welcome.

For more information, see Contributing Guide.

Security Policy

If you discover a security vulnerability within this project, please follow our Security Policy.

Code of Conduct

This project adheres to the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code.

Disclaimer

In no event shall we be liable to you or any third parties for any special, punitive, incidental, indirect or consequential damages of any kind, or any damages whatsoever, including, without limitation, those resulting from loss of use, data or profits, and on any theory of liability, arising out of or in connection with the use of this software.