Skip to content

skeptycal/fiber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gorepo

Tricky and fun ansi text utilities for Go programs. The obligatory ANSI CLI module predominantly from the Go standard library.


GitHub Workflow Status Codecov Contributor Covenant

Twitter Follow GitHub followers


Getting Started

Prerequisites

Developed with Go 1.15.5 darwin/amd64 (macOS Big Sur) Tested on Go 1.13+


Installation

The easiest way is to clone the repository with Go and install from there.

# add repo to $GOPATH
go get github.com/skeptycal/anansi

cd ${GOPATH}/src/github.com/skeptycal/anansi

go test -v

go install

Basic Usage

This is a copy of the sample script available in the sample folder:

package main

import "github.com/skeptycal/anansi"

func main() {
    anansi.Sample()
}

To try it out:

# change to the sample folder
cd sample

# run the main.go program
go run ./main.go

# You should see the following output demonstrating various color combinations.

sample foreground colors sample foreground colors


Code of Conduct and Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us. Please read the Code of Conduct for details before submitting anything.


Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.


Contributors

  • Michael Treanor (GitHub / Twitter) - Initial work, updates, maintainer
  • Francesc Campoy - Inspiration and great YouTube videos!

See also the list of contributors who participated in this project.

Much of the basic types, constants, and terminal checks in 'anansi_const.go' are based on the very popular and well documented color package.


License

Licensed under the MIT https://opensource.org/licenses/MIT - see the LICENSE file for details.

About

A small example web server app using Go Fiber.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors