index
:
pingpong
master
A demo of graceful worker goroutine cancellation.
Brandon Irizarry
summary
refs
log
tree
commit
diff
log msg
author
committer
range
Age
Commit message (
Collapse
)
Author
2026-05-25
docs: indicate where in the code the game starts
master
demo
2026-05-25
feat: print b.hits when control reaches the main goroutine
demo
2026-05-25
docs: add comments
demo
2026-05-25
feat: use GOEXPERIMENT=goroutineleakprofile
demo
That is, use it to check for goroutine leaks.
2026-05-24
feat: vet the number of players
demo
2026-05-24
docs: add comment
demo
2026-05-24
docs: edit comment
demo
2026-05-24
feat: make number of players configurable
demo
2026-05-24
feat: generalize over multiple players
demo
2026-05-24
feat: add more players
demo
2026-05-24
docs: add comment explaining wg.Wait
demo
It's a bit trite for now, but it'll do.
2026-05-24
feat: use log.Fatal instead of fmt.Println
demo
I figure this would draw attention to me more handily if any of these reads did in fact succeed.
2026-05-24
docs: fix comment
demo
2026-05-24
refactor: remove unused 'done' channel parameter
demo
2026-05-24
feat: get something that looks like it works!
demo
2026-05-24
chore: add logging to indicate when workers start and stop
demo
2026-05-24
test: add test file
demo
2026-05-24
chore: ignore things related to profiling and testing
demo
2026-05-24
chore: ignore binary
demo
2026-05-24
refactor: move game code into testable function
demo
2026-05-24
feat: specify secs using -s + use Ball{}
demo
2026-05-24
feat: copy ping-pong example
demo
2026-05-24
chore: initialize project
demo
2026-05-24
chore: mark project root
demo