mux
                                
                                 mux copied to clipboard
                                
                                    mux copied to clipboard
                            
                            
                            
                        add golintci linter
Summary of Changes
- Added golangci-lint linter
- Makefile for "lint" and "test"
- Updated code as per issues raised by linter
@elithrarm, need your inputs. I believe we can close this PR for the below reasons:
- 
We could achieve the same results in a better way. Github actions supports golangci-lint. I'm sharing few examples how the config will look like if we go ahead with Github actions. https://github.com/golangci/golangci-lint/blob/master/.github/workflows/pr.yml https://github.com/golangci/golangci-lint-action#how-to-use
- 
For contributors we can configure pre-commithook as a part of project. https://pre-commit.com/hooks.html
Looking forward to your inputs.
If we go ahead with the new proposed approach, we will be introducing new files:
- .github/WORFLOW/pr.yml
- .pre-commit-config.yml
This has been added during the transition