From 251f89e493562b501e4beeb29a9665c188984e15 Mon Sep 17 00:00:00 2001 From: "Dr. Gernot Starke" Date: Fri, 15 Dec 2023 07:44:26 +0100 Subject: [PATCH] removed mutex, removing linter error --- README.md | 7 ++++--- go-app/internal/plausible/vpvStatistics.go | 3 --- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e3341fc..abb720e 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,10 @@ # Repository Overview Like all cool websites, arc42 has a status-subdomain, showing usage- and repo statistics for its domains and subdomains. -[![build+deploy go-app](https://github.com/arc42/status.arc42.org-site/actions/workflows/fly.yml/badge.svg?branch=main)](https://github.com/arc42/status.arc42.org-site/actions/workflows/fly.yml) -[![build+deploy jekyll](https://github.com/arc42/status.arc42.org-site/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/arc42/status.arc42.org-site/actions/workflows/pages/pages-build-deployment) -[![golang-lint](https://github.com/arc42/status.arc42.org-site/actions/workflows/golang-lint.yml/badge.svg)](https://github.com/arc42/status.arc42.org-site/actions/workflows/golang-lint.yml) +| **Static Jekyll Site** | **Documentation** | **Statistic service (Go app)** | +|---------------------- |---------------------|--------------------------------| +| [\docs]() | [\documentation]() | [\go-app]() | +| [![build+deploy jekyll](https://github.com/arc42/status.arc42.org-site/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/arc42/status.arc42.org-site/actions/workflows/pages/pages-build-deployment) | | [![build+deploy go-app](https://github.com/arc42/status.arc42.org-site/actions/workflows/fly.yml/badge.svg?branch=main)](https://github.com/arc42/status.arc42.org-site/actions/workflows/fly.yml)
[![golang-lint](https://github.com/arc42/status.arc42.org-site/actions/workflows/golang-lint.yml/badge.svg)](https://github.com/arc42/status.arc42.org-site/actions/workflows/golang-lint.yml) | This repository is organized as follows: 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