Skip to content

TWolfis/random

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

random

A simple Go CLI tool to generate a random integer within a specified range.

Features

  • Specify an upper and lower bound
  • Support for shorthand flags
  • Error handling for invalid ranges

Usage

go run main.go --lower 10 --upper 100

Or using shorthand:

go run main.go -l 10 -u 100

Output

Prints a random number between the given lower (inclusive) and upper (exclusive) bounds.

License

This project is licensed under the BSD 3-Clause License. See the LICENSE file for details.

Installation

To install the tool, run the following command:

go install github.com/TWolfis/random@latest

About

random number generator written in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages