Categorygithub.com/santoshanand/helper
modulepackage
1.0.2
Repository: https://github.com/santoshanand/helper.git
Documentation: pkg.go.dev

# README

Helper Utility for Go Projects

This package contains logger and config modules

to use this package first need to initialize the helper module using

make sure keep config.yml file at root of your project.

  helper.Initialize()

Use some helper functions as follows

  helper.Log("Welcome to logger")
  helper.Logf("Welcome to logger with number %d", 1)

# Packages

No description provided by the author
No description provided by the author

# Functions

GetConfigValue - get value for given key.
Initialize - initialie helper it will load config and initialize logger.
Log - print log info on console.
Logf - print formatted log info on console.