Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds linters and Github Actions #2

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

wgh000
Copy link

@wgh000 wgh000 commented Jun 17, 2021

Code has been lint'ed
Github Actions runs linters and tests to accept push and pull-requests

@@ -18,6 +15,10 @@ type Logger interface {
Error(err error, msg string, keysAndValues ...interface{})
}

// DefaultLogger is used if none is specified.
func createDefaultLogger() Logger {
Copy link
Owner

@hanagantig hanagantig Jun 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this way we will create multiple logger structs that will lead to different mutexes in logger atomic methods

@hanagantig hanagantig marked this pull request as draft December 26, 2021 17:59
@hanagantig
Copy link
Owner

@wgh000 could you please change the createDefaultLogger() method so I can merge your first cool PR ? 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants