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

style(golangci-lint): autofixes #709

Merged
merged 1 commit into from
Jan 3, 2022
Merged

Conversation

EtienneM
Copy link
Member

@EtienneM EtienneM commented Jan 3, 2022

Updated the CodeShip configuration according to our new procedure

@@ -1,3 +1,4 @@
//go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd
Copy link
Member Author

Choose a reason for hiding this comment

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

As specified in the Build constraints doc:

Go versions 1.16 and earlier used a different syntax for build constraints, with a "// +build" prefix. The gofmt command will add an equivalent //go:build constraint when encountering the older syntax.

@EtienneM EtienneM marked this pull request as ready for review January 3, 2022 11:20
@EtienneM EtienneM requested a review from curzolapierre January 3, 2022 11:20
Copy link
Member

@curzolapierre curzolapierre left a comment

Choose a reason for hiding this comment

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

LGTM

@EtienneM EtienneM merged commit 2e54c4c into master Jan 3, 2022
@EtienneM EtienneM deleted the fix/golangci-lint_autofix branch January 3, 2022 15:29
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