package
0.0.0-20240807084400-93202a208511
Repository: https://github.com/yirgacheffe/golang-codes.git
Documentation: pkg.go.dev

# Functions

CatchSignal sets up a listener for SIGINT interrupts.
LoadConfig will load files optionally from the json file stored at path then will override those values based on the envconfig struct tags.
LoadFile unmarshalls a json file into a config struct ......
WordCount takes a file and returns a map with each word as a key and it's number of appearances as a value.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ColorNone as default.
ColorNone as default.
ColorNone as default.
ColorNone as default.
ColorNone as default.
ColorNone as default.
ColorNone as default.
ColorNone as default.
ColorNone as default.

# Structs

No description provided by the author
ColorText hold a text and it's color.
Config will hold the config which captured from a json file and env vars.
Config is the holder for our flags.
MenuConf holds all the levels for a nested cmd line argument.
No description provided by the author

# Type aliases

Color of text, assign to int.
CountTheWays is a custom type that will be read a flag.