Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pmuens/goker
A Texas Hold'em Poker implementation written in Go
https://github.com/pmuens/goker
go golang tdd test-driven-development tutorial
Last synced: about 2 months ago
JSON representation
A Texas Hold'em Poker implementation written in Go
- Host: GitHub
- URL: https://github.com/pmuens/goker
- Owner: pmuens
- License: apache-2.0
- Created: 2024-09-26T12:47:47.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-10-01T14:32:19.000Z (5 months ago)
- Last Synced: 2024-11-20T07:12:16.664Z (3 months ago)
- Topics: go, golang, tdd, test-driven-development, tutorial
- Language: Go
- Homepage: https://github.com/quii/learn-go-with-tests
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Goker
A Texas Hold'em Poker implementation written in Go while following [quii/learn-go-with-tests](https://github.com/quii/learn-go-with-tests).
## Setup
1. `git clone `
2. `asdf install`
3. `go test ./...`
4. `go run ./cmd/webserver/main.go` OR `go run ./cmd/cli/main.go`## Useful Commands
```sh
go run
go build []go test [][/...] [-v] [-cover] [-race] [-parallel ]
go test -bench=. [] [-count ] [-benchmem] [-benchtime 2s] [-memprofile ]go test -coverprofile []
go tool cover -html
go tool cover -funcgo doc []
go fmt []
go vet []go mod init []
go mod tidy
go mod vendor
go mod downloadgo work init [ [] [...]]
go work use [ [] [...]]
go work sync# Adjust dependencies in `go.mod`.
go get [@]# Build and install commands.
go install [@]go list -m [all]
```## Useful Resources
- [Go - Learn](https://go.dev/learn)
- [Go - Documentation](https://go.dev/doc)
- [Go - A Tour of Go](https://go.dev/tour)
- [Go - Effective Go](https://go.dev/doc/effective_go)
- [Go - Playground](https://go.dev/play)
- [Go by Example](https://gobyexample.com)
- [100 Go Mistakes and How to Avoid Them](https://100go.co)