Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,11 @@ mod-tidy:

mod-check:
@$(call print, "Checking modules.")
$(GOMOD) tidy
if test -n "$$(git status | grep -e "go.mod\|go.sum")"; then echo "Running go mod tidy changes go.mod/go.sum"; git status; git diff; exit 1; fi
GOPROXY=direct $(GOMOD) tidy
cd swapserverrpc/ && GOPROXY=direct $(GOMOD) tidy
cd looprpc/ && GOPROXY=direct $(GOMOD) tidy
cd tools/ && GOPROXY=direct $(GOMOD) tidy
if test -n "$$(git status --porcelain)"; then echo "Running go mod tidy changes go.mod/go.sum"; git status; git diff; exit 1; fi

sqlc:
@$(call print, "Generating sql models and queries in Go")
Expand Down
1,069 changes: 0 additions & 1,069 deletions go.sum

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions swapserverrpc/common.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion swapserverrpc/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,12 @@ require (
google.golang.org/protobuf v1.34.2
)

go 1.16
require (
github.com/golang/protobuf v1.5.3 // indirect
golang.org/x/net v0.9.0 // indirect
golang.org/x/sys v0.7.0 // indirect
golang.org/x/text v0.9.0 // indirect
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
)

go 1.18
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not go directly to 1.23.6 like the main go.mod?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Somebody may use swapserverrpc externally. They could use an old version of Go. So I decided not to force them to update more than needed.

1,504 changes: 0 additions & 1,504 deletions swapserverrpc/go.sum

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions swapserverrpc/instantout.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions swapserverrpc/reservation.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading