[PR #164] Use stdlib atomic.Bool instead of go.uber.org/atomic #179

Open
opened 2026-10-13 21:04:19 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amneziawg-go/pull/164
Author: @skitt
Created: 7/29/2026
Status: 🔄 Open

Base: master ← Head: stdlib-atomic


📝 Commits (1)

  • bb2f84f Use stdlib atomic.Bool instead of go.uber.org/atomic

📊 Changes

3 files changed (+3 additions, -6 deletions)

View changed files

📝 device/device_test.go (+3 -3)
📝 go.mod (+0 -1)
📝 go.sum (+0 -2)

📄 Description

device_test.go is the only user of go.uber.org/atomic; the rest of the project uses stdlib sync/atomic. This switches the only use of go.uber.org/atomic to stdlib, allowing the dependency to be dropped.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amneziawg-go/pull/164 **Author:** [@skitt](https://github.com/skitt) **Created:** 7/29/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `stdlib-atomic` --- ### 📝 Commits (1) - [`bb2f84f`](https://github.com/amnezia-vpn/amneziawg-go/commit/bb2f84fb1380b66ba06c8f87f15aa1f517874fd4) Use stdlib atomic.Bool instead of go.uber.org/atomic ### 📊 Changes **3 files changed** (+3 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `device/device_test.go` (+3 -3) 📝 `go.mod` (+0 -1) 📝 `go.sum` (+0 -2) </details> ### 📄 Description device_test.go is the only user of go.uber.org/atomic; the rest of the project uses stdlib sync/atomic. This switches the only use of go.uber.org/atomic to stdlib, allowing the dependency to be dropped. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amneziawg-go#179
No description provided.