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

Feature/welcome - nothing major, just icons #213

Merged
merged 9 commits into from
Nov 20, 2024
Merged

Conversation

kevincobain2000
Copy link
Owner

No description provided.

gobrew.go Outdated Show resolved Hide resolved
gobrew.go Outdated Show resolved Hide resolved
@@ -114,31 +114,36 @@ func (gb *GoBrew) Interactive(ask bool) {
fmt.Println()

if currentVersion == NoneVersion {
color.Warnln("GO Installed Version", ".......", currentVersion)
color.Warnln("🚨 Installed Version", ".......", currentVersion, "⚠️")
Copy link
Collaborator

Choose a reason for hiding this comment

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

If we use UTF-8 characters, how will this work on remote machines? Or where a different code page is used? Didn't check?

Copy link
Owner Author

Choose a reason for hiding this comment

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

didn't check. UTF8 support should be there on most machines. User can always use gobrew <command>
This PR only effects the gobrew interactive command.

Copy link
Collaborator

Choose a reason for hiding this comment

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

OK

@juev
Copy link
Collaborator

juev commented Nov 11, 2024

And we need to see what happened to the unit tests.

@kevincobain2000
Copy link
Owner Author

something is off

@kevincobain2000 kevincobain2000 deleted the feature/welcome branch November 11, 2024 06:48
Copy link

CoverItUp Report

Comparison Table - 7 Types 📉
Type master feature/welcome 007a5f6 from 653737f
coverage 60.7% 60.6% 📉
unit-test-run-time 21sec 20sec 📉
allocs-per-op 19.5kalloc 19.5kalloc 📉
Comparisons Chart - master from feature/welcome

base vs branchbase vs branchbase vs branch

Commits History

Upto 653737f for #213
commit historycommit historycommit history

Users History

Upto 653737f for #213
user historyuser historyuser history

Embed README.md

1 similar comment
Copy link

CoverItUp Report

Comparison Table - 7 Types 📉
Type master feature/welcome 007a5f6 from 653737f
coverage 60.7% 60.6% 📉
unit-test-run-time 21sec 20sec 📉
allocs-per-op 19.5kalloc 19.5kalloc 📉
Comparisons Chart - master from feature/welcome

base vs branchbase vs branchbase vs branch

Commits History

Upto 653737f for #213
commit historycommit historycommit history

Users History

Upto 653737f for #213
user historyuser historyuser history

Embed README.md

Copy link

CoverItUp Report

Comparison Table - 7 Types 📉
Type master feature/welcome 007a5f6 from 2cf0b76
coverage 60.7% 60.6% 📉
unit-test-run-time 21sec 20sec 📉
allocs-per-op 19.5kalloc 19.5kalloc 📉
Comparisons Chart - master from feature/welcome

base vs branchbase vs branchbase vs branch

Commits History

Upto 2cf0b76 for #213
commit historycommit historycommit history

Users History

Upto 2cf0b76 for #213
user historyuser historyuser history

Embed README.md

… to: Since Go1.22 (loopvar) this linter is no longer relevant. Replaced by copyloopvar.
@@ -12,7 +12,6 @@ linters:
- staticcheck
- dupl
- errorlint
- exportloopref
Copy link
Owner Author

Choose a reason for hiding this comment

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

WARN The linter 'exportloopref' is deprecated (since v1.60.2) due to: Since Go1.22 (loopvar) this linter is no longer relevant. Replaced by copyloopvar.

Copy link
Collaborator

Choose a reason for hiding this comment

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

OK

Copy link

CoverItUp Report

Comparison Table - 7 Types 📉
Type master feature/welcome 007a5f6 from b25cf01
coverage 60.7% 60.6% 📉
unit-test-run-time 21sec 20sec 📉
allocs-per-op 19.5kalloc 19.5kalloc 📉
Comparisons Chart - master from feature/welcome

base vs branchbase vs branchbase vs branch

Commits History

Upto b25cf01 for #213
commit historycommit historycommit history

Users History

Upto b25cf01 for #213
user historyuser historyuser history

Embed README.md

… to: Since Go1.22 (loopvar) this linter is no longer relevant. Replaced by copyloopvar.
@@ -58,7 +58,6 @@ func TestJudgeVersion(t *testing.T) {
// },
}
for _, test := range tests {
test := test
Copy link
Owner Author

Choose a reason for hiding this comment

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

╰─$ golangci-lint run ./...
helpers_test.go:61:3: The copy of the 'for' variable "test" can be deleted (Go 1.22+) (copyloopvar)
		test := test
		^
helpers_test.go:143:3: The copy of the 'for' variable "tt" can be deleted (Go 1.22+) (copyloopvar)
		tt := tt
		^
helpers_test.go:183:3: The copy of the 'for' variable "tt" can be deleted (Go 1.22+) (copyloopvar)
		tt := tt
		^
helpers_test.go:216:3: The copy of the 'for' variable "tt" can be deleted (Go 1.22+) (copyloopvar)
		tt := tt
		^

Copy link
Collaborator

Choose a reason for hiding this comment

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

OK

Copy link

CoverItUp Report

Comparison Table - 7 Types 📉
Type master feature/welcome 007a5f6 from 8bc4e2d
coverage 60.7% 60.6% 📉
unit-test-run-time 21sec 20sec 📉
Comparisons Chart - master from feature/welcome

base vs branchbase vs branch

Commits History

Upto 8bc4e2d for #213
commit historycommit history

Users History

Upto 8bc4e2d for #213
user historyuser history

Embed README.md

Copy link

CoverItUp Report

Comparison Table - 7 Types 📉
Type master feature/welcome 007a5f6 from bcb1531
coverage 60.7% 60.6% 📉
allocs-per-op 19.5kalloc 19.5kalloc 📉
Comparisons Chart - master from feature/welcome

base vs branchbase vs branch

Commits History

Upto bcb1531 for #213
commit historycommit history

Users History

Upto bcb1531 for #213
user historyuser history

Embed README.md

@@ -12,7 +12,6 @@ linters:
- staticcheck
- dupl
- errorlint
- exportloopref
Copy link
Collaborator

Choose a reason for hiding this comment

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

OK

@@ -114,31 +114,36 @@ func (gb *GoBrew) Interactive(ask bool) {
fmt.Println()

if currentVersion == NoneVersion {
color.Warnln("GO Installed Version", ".......", currentVersion)
color.Warnln("🚨 Installed Version", ".......", currentVersion, "⚠️")
Copy link
Collaborator

Choose a reason for hiding this comment

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

OK

@@ -58,7 +58,6 @@ func TestJudgeVersion(t *testing.T) {
// },
}
for _, test := range tests {
test := test
Copy link
Collaborator

Choose a reason for hiding this comment

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

OK

Copy link

CoverItUp Report

Comparison Table - 7 Types 📉
Type master feature/welcome 007a5f6 from 28c616a
coverage 60.7% 60.6% 📉
build-time 0sec 1sec 📈
unit-test-run-time 21sec 20sec 📉
allocs-per-op 19.5kalloc 19.5kalloc 📉
Comparisons Chart - master from feature/welcome

base vs branchbase vs branchbase vs branchbase vs branch

Commits History

Upto 28c616a for #213
commit historycommit historycommit historycommit history

Users History

Upto 28c616a for #213
user historyuser historyuser historyuser history

Embed README.md

Copy link

CoverItUp Report

Comparison Table - 7 Types 📉
Type master feature/welcome 007a5f6 from ee1b87d
coverage 60.7% 60.6% 📉
unit-test-run-time 21sec 20sec 📉
allocs-per-op 19.5kalloc 19.5kalloc 📉
Comparisons Chart - master from feature/welcome

base vs branchbase vs branchbase vs branch

Commits History

Upto ee1b87d for #213
commit historycommit historycommit history

Users History

Upto ee1b87d for #213
user historyuser historyuser history

Embed README.md

@kevincobain2000 kevincobain2000 merged commit 70fa4e8 into master Nov 20, 2024
10 checks passed
Copy link

CoverItUp Report

Comparison Table - 7 Types 📈 and 📉
Type master feature/welcome 70fa4e8 from 40940ea
unit-test-run-time 20sec 19sec 📉
allocs-per-op 19.5kalloc 19.5kalloc 📈
Comparisons Chart - master from feature/welcome

base vs branchbase vs branch

Commits History

Upto 40940ea for #213
commit historycommit history

Users History

Upto 40940ea for #213
user historyuser history

Embed README.md

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