Skip to content

With the help of this Go Lang package, you can easily alter the text color in your terminal environment.

Notifications You must be signed in to change notification settings

asamoahe3/colorit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Colorit - Preview

Design preview for the Stats preview card component coding challenge

Welcome! 👋

Colorit is a Go Lang package that helps to easily alter the text color in a terminal environment.

How to install the package

To use this packge we assumed you already have "GO" installed on your computer.

Open the project you want to work with

~$ cd your-project-directory
~$ go mod init your-project-name
~$ go get -u github.com/asamoahe3/colorit

How to Use

   package main

   import(
    "fmt"
     "github.com/asamoahe3/colorit"
   )

   func main() {
	errMsg := "Something unexpected has occured."
    greetings := "Happy coding"

    fmt.Println(colorit.Red + errMsg)
    fmt.Println(colorit.Green + greetings)
}

Have fun building! 🚀

About

With the help of this Go Lang package, you can easily alter the text color in your terminal environment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages