diff --git a/.github/.idea/.github.iml b/.github/.idea/.github.iml new file mode 100644 index 0000000..5e764c4 --- /dev/null +++ b/.github/.idea/.github.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.github/.idea/modules.xml b/.github/.idea/modules.xml new file mode 100644 index 0000000..854e742 --- /dev/null +++ b/.github/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.github/.idea/workspace.xml b/.github/.idea/workspace.xml new file mode 100644 index 0000000..1c1a9e6 --- /dev/null +++ b/.github/.idea/workspace.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/go-app/internal/domain/domain.go b/go-app/internal/domain/domain.go index ee1ed9e..8888ab6 100644 --- a/go-app/internal/domain/domain.go +++ b/go-app/internal/domain/domain.go @@ -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]) } diff --git a/go-app/internal/plausible/vpvStatistics.go b/go-app/internal/plausible/vpvStatistics.go index 2ad5eeb..70d8d5f 100644 --- a/go-app/internal/plausible/vpvStatistics.go +++ b/go-app/internal/plausible/vpvStatistics.go @@ -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