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

chore: Remove fmt.println from core package #238

Merged
merged 1 commit into from
Feb 28, 2022

Conversation

AndrewSisley
Copy link
Contributor

@AndrewSisley AndrewSisley commented Feb 28, 2022

Would probably like a linter rule to ban fmt.Print[ln] at somepoint

Were only two in document package, so a chucked them in here too

@AndrewSisley AndrewSisley added the area/logging Related to the logging/logger system label Feb 28, 2022
@AndrewSisley AndrewSisley self-assigned this Feb 28, 2022
@codecov
Copy link

codecov bot commented Feb 28, 2022

Codecov Report

Merging #238 (aedd19c) into develop (a54b34f) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #238      +/-   ##
===========================================
- Coverage    58.59%   58.57%   -0.02%     
===========================================
  Files          103      103              
  Lines         9848     9844       -4     
===========================================
- Hits          5770     5766       -4     
  Misses        3448     3448              
  Partials       630      630              
Impacted Files Coverage Δ
core/crdt/composite.go 76.05% <ø> (-0.34%) ⬇️
core/crdt/lwwreg.go 72.28% <ø> (-0.33%) ⬇️
core/key.go 85.18% <ø> (-0.53%) ⬇️
document/document.go 64.52% <100.00%> (-0.14%) ⬇️

@orpheuslummis
Copy link
Contributor

As for the linter rule, perhaps via using the following https://golangci-lint.run/usage/linters/#forbidigo

@AndrewSisley
Copy link
Contributor Author

As for the linter rule, perhaps via using the following https://golangci-lint.run/usage/linters/#forbidigo

Nice, cheers

Copy link
Contributor

@orpheuslummis orpheuslummis left a comment

Choose a reason for hiding this comment

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

LGTM

@AndrewSisley AndrewSisley merged commit 07a71a4 into develop Feb 28, 2022
@AndrewSisley AndrewSisley deleted the sisley/chore/I237-core-prinln branch February 28, 2022 19:47
jsimnz added a commit that referenced this pull request Mar 1, 2022
shahzadlone pushed a commit to shahzadlone/defradb that referenced this pull request Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/logging Related to the logging/logger system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants