Installation
Use GoFire as a Go module or install the CLI globally.
As Go module
In a new project, run go mod init first, then:
go get github.com/messivite/goFire
As CLI
To install the GoFire CLI:
go install github.com/messivite/goFire/cmd/gofire@latest
After installation you can run gofire in the terminal. Ensure $GOPATH/bin or $HOME/go/bin is in your PATH.
command not found? Add Go's bin directory to PATH: export PATH=$PATH:$(go env GOPATH)/bin — or run with full path: $(go env GOPATH)/bin/gofire init
missing go.sum? Run go mod tidy. not a main package? Use go run ./cmd/server from the project root.
Requirements
- Go 1.19+
- Firebase project (optional, for auth)
- Upstash Redis account (optional, for cache)