Skip to content

Commit

Permalink
feat(SPV-1469): fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dzolt-4chain committed Jan 31, 2025
1 parent bf5bffc commit 635e0ee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: ".go.mod"
go-version-file: "go.mod"
- name: golangci-style-lint
uses: golangci/golangci-lint-action@v6
with:
Expand Down
8 changes: 6 additions & 2 deletions examples/example_keys.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
package examples

const (
Alias = "test"
Domain = "example.com"
// A string representing the alias part of the Paymail address.

Check failure on line 4 in examples/example_keys.go

View workflow job for this annotation

GitHub Actions / [examples] Lint for errors

exported: comment on exported const Alias should be of the form "Alias ..." (revive)
Alias = "test"
// Domain specifies the domain portion of the Paymail address.
Domain = "example.com"
// Paymail constructs the complete Paymail address by concatenating
// Alias and Domain with an "@" separator.
Paymail = Alias + "@" + Domain
)

Expand Down

0 comments on commit 635e0ee

Please sign in to comment.