Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 -func

go doc []
go fmt []
go vet []

go mod init []
go mod tidy
go mod vendor
go mod download

go 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)