Skip to content

Commit

Permalink
added golang linter
Browse files Browse the repository at this point in the history
  • Loading branch information
gernotstarke committed Dec 14, 2023
1 parent 71166f0 commit 203ea6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Like all cool websites, arc42 has a status-subdomain, showing usage- and repo st

[![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)


This repository is organized as follows:

Expand Down
3 changes: 3 additions & 0 deletions go-app/internal/plausible/vpvStatistics.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ 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

Check failure on line 26 in go-app/internal/plausible/vpvStatistics.go

View workflow job for this annotation

GitHub Actions / lint

var `mutex` is unused (unused)

var APIKEY string

// init is called during system startup
Expand Down

0 comments on commit 203ea6b

Please sign in to comment.