Skip to content

Commit

Permalink
Update Makefile and go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
subtle-byte committed Apr 8, 2023
1 parent 08db6b6 commit 62b86a1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Makefile
Expand Up @@ -8,3 +8,7 @@ run:
DB_CONN="postgres://postgres:password@localhost:54329/?sslmode=disable" \
DEBUG_TOKEN="" \
go run cmd/server/main.go

test:
go build -v ./...
go test -cover -v -race ./...
6 changes: 3 additions & 3 deletions go.mod
@@ -1,18 +1,18 @@
module github.com/subtle-byte/ghloc

go 1.17
go 1.19

require (
github.com/go-chi/chi/v5 v5.0.8
github.com/go-chi/cors v1.2.1
github.com/golang-migrate/migrate/v4 v4.15.2
github.com/lib/pq v1.10.7
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8
)

require (
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8
go.uber.org/atomic v1.10.0 // indirect
golang.org/x/sys v0.4.0 // indirect
golang.org/x/sys v0.7.0 // indirect
)
2 changes: 2 additions & 0 deletions go.sum
Expand Up @@ -1414,6 +1414,8 @@ golang.org/x/sys v0.0.0-20220111092808-5a964db01320/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20220317061510-51cd9980dadf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.4.0 h1:Zr2JFtRQNX3BCZ8YtxRE9hNJYC8J6I1MVbMg6owUp18=
golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.7.0 h1:3jlCCIQZPdOYu1h8BkNvLz8Kgwtae2cagcG/VamtZRU=
golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
Expand Down

0 comments on commit 62b86a1

Please sign in to comment.