Skip to content

Commit

Permalink
Merge pull request #80 from arc42/fix-staticcheck-issues
Browse files Browse the repository at this point in the history
fix staticcheck issues
  • Loading branch information
gernotstarke authored Dec 14, 2023
2 parents 1c6e742 + 71166f0 commit 98a6568
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .github/.idea/.github.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .github/.idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .github/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion go-app/internal/domain/domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func LoadStats4AllSites() types.Arc42Statistics {
a42s.Totals = calculateTotals(Stats4Sites)

// create Issue- and Bug Links
for index, _ := range types.Arc42sites {
for index := range types.Arc42sites {
badge.SetIssuesAndBugBadgeURLsForSite(&a42s.Stats4Site[index])
}

Expand Down
3 changes: 0 additions & 3 deletions go-app/internal/plausible/vpvStatistics.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ import (
// The required (secret) API key is set within the initialization.
var plausibleClient *plausible.Client = nil

// need mutex to ensure isolated access to shared variable
var mutex sync.Mutex

var APIKEY string

// init is called during system startup
Expand Down

0 comments on commit 98a6568

Please sign in to comment.