Socket
Book a DemoInstallSign in
Socket

github.com/yashkumarverma/go-lib-ui

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/yashkumarverma/go-lib-ui

Source
Go
Version
v0.0.0-20201029083912-7e195f0e75b1
Version published
Created
Source

go-lib-ui

A simple handy cli ui library that supports printing messages with context along with color and emoji support.

Why a module

this has been published as a separate module because I realized that I was using similar functionality in multiple golang projects and hence duplicating a lot of code. Also as adding and managing new features was an issue. Publishing it as a separate module then using it across multiple projects would serve the purpose.

Usage

Include the library

# fetch the library
go get github.com/YashKumarVerma/go-lib-ui

Under the hood

The package uses two very popular libraries

  • github.com/fatih/color
  • github.com/kyokomi/emoji

FAQs

Package last updated on 29 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts