go-rain

command module
v0.0.0-...-5b6c6be Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: MIT Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

go-rain

Screen Recording 2022-11-08 at 03 06 08

This is a very basic implementation of a terminal rain effect in Go using the goterm and gookit/color libraries.

Inspired by nkleeman's implementation in C.

Dependencies

As mentioned above, this program relies on goterm and gookit/color to print the rain drops to the terminal. If you decide you want to run the program, it should auto install any dependencies when you perform the go run command.

Installation & Execution

Clone the repo:

$ git clone https://github.com/ak-tr/go-rain

Move into its directory:

$ cd go-rain

Run:

$ go run main.go

Alternatively, build with:

$ go build

Then, run:

$ ./go-rain

Issues

Windows support added. Should have no issues there.

MacOS users, if you encounter an xcrun: error: invalid active developer path error, run:

$ xcode-select --install

Also my first time using Golang, I appreciate any feedback...

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
⌂ 换网址