GitShow/tj/go-gracefully
tj

go-gracefully

Graceful shutdown utility for Golang

by tj
Star on GitHubFork

Go

66 stars4 forks1 contributorQuiet · 11y agoSince 2014

Meet the team

See all 1 on GitHub →
tj
tj9 contributions

Languages

View on GitHub →
Go100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

1 of 6 standards met

Community profile →
28
✓README○License○Contributing○Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
tj
timeout optionClosedIssue
tj · 11y ago
joeshaw
run goroutine after first read from channelMergedPR

Fixes a race where the goroutine could receive the signal first, treat it as the second signal, and kill the program. Fixes #2.

joeshaw · 11y ago
joeshaw
channel read in goroutine can win race, kill on first signalClosedIssue

It's possible for the in the goroutine to receive a signal before the one in the outer function. This would cause the program to terminate on the first signal, not the second one. Moving the goroutine to after the channel read would fix this.

joeshaw · 11y ago
Structured data for AI agents

Repository: tj/go-gracefully. Description: Graceful shutdown utility for Golang Stars: 66, Forks: 4. Primary language: Go. Languages: Go (100%). Open PRs: 0, open issues: 0. Last activity: 11y ago. Community health: 28%. Top contributors: tj.

·@ofershap

Replace github.com with gitshow.dev