// go.mod declares this project as a Go module. // // The module path (below) is used as the import prefix for every package // inside this repo - that's why every internal import in this project starts // with "git.hamidsoltani.com/hamid/go-simple-api/...". module git.hamidsoltani.com/hamid/go-simple-api go 1.26 // NOTE FOR THE STUDENT: // This file intentionally does NOT list dependency versions or include a // go.sum file, because they were generated without network access to the // Go module proxy. The very first time you set up the project, run: // // go mod tidy // // from the project root. That command will: // 1. Scan all .go files for imports it doesn't recognize yet // 2. Download the latest compatible version of each one // 3. Add "require" lines here automatically // 4. Generate go.sum (a checksum file that locks exact versions, // so builds are reproducible and can be verified as untampered) // // You need the following packages - `go mod tidy` will fetch all of them // automatically just by scanning the imports in the code: // // github.com/go-chi/chi/v5 // github.com/go-chi/httprate // github.com/go-chi/cors // github.com/go-sql-driver/mysql // github.com/alexedwards/scs/v2 // github.com/alexedwards/scs/redisstore // github.com/gomodule/redigo // golang.org/x/crypto // golang.org/x/oauth2 require ( github.com/alexedwards/scs/redisstore v0.0.0-20251002162104-209de6e426de github.com/alexedwards/scs/v2 v2.9.0 github.com/go-chi/chi/v5 v5.3.1 github.com/go-chi/cors v1.2.2 github.com/go-chi/httprate v0.16.0 github.com/go-sql-driver/mysql v1.10.0 github.com/gomodule/redigo v1.9.3 golang.org/x/crypto v0.54.0 golang.org/x/oauth2 v0.36.0 ) require ( cloud.google.com/go/compute/metadata v0.3.0 // indirect filippo.io/edwards25519 v1.2.0 // indirect github.com/klauspost/cpuid/v2 v2.2.10 // indirect github.com/zeebo/xxh3 v1.0.2 // indirect golang.org/x/sys v0.47.0 // indirect )