Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
ea86859
chore: regenerate examples with upcoming Goa contracts
raphael Aug 24, 2026
a68a567
chore: regenerate examples with final Goa contracts
raphael Aug 24, 2026
4be0dfc
fix(tus): enforce upload protocol headers and deletion
raphael Aug 24, 2026
cc259b6
chore: regenerate examples with final Goa fixes
raphael Aug 25, 2026
c7cdcbe
chore: regenerate examples with restored Goa names
raphael Aug 25, 2026
c6a7ebb
chore: update examples to final Goa generator
raphael Aug 25, 2026
084ef62
chore: verify examples with corrected Goa
raphael Aug 25, 2026
b4fa823
chore: verify examples with finalized Goa generator
raphael Aug 25, 2026
0c83750
chore: pin examples to final Goa generator
raphael Aug 25, 2026
e760e1d
chore: regenerate examples with Goa generation fixes
raphael Aug 25, 2026
40f4dda
chore: verify examples with scoped Goa transforms
raphael Aug 25, 2026
35691c5
chore: pin examples to final scoped Goa transforms
raphael Aug 25, 2026
3f2fda7
fix(cbor): use the documented transport codec
raphael Aug 26, 2026
90b065a
chore: regenerate examples with Goa generation plan
raphael Aug 26, 2026
b49bf33
chore: pin examples to latest Goa generation plan
raphael Aug 26, 2026
8036c36
chore: pin examples to final Goa generation plan
raphael Aug 26, 2026
0f9e460
chore: pin examples to shared Goa helpers
raphael Aug 26, 2026
b685cc6
chore: pin examples to final Goa generation plan
raphael Aug 26, 2026
a8d1b3c
chore: pin examples to final Goa API
raphael Aug 26, 2026
886fb34
chore: pin examples to latest Goa API
raphael Aug 26, 2026
b638c19
chore: pin examples to wrapped Goa transforms
raphael Aug 26, 2026
213ae3f
chore: pin examples to final Goa helpers
raphael Aug 26, 2026
87c3299
Regenerate examples with Goa preview
raphael Aug 30, 2026
ee342c4
Restore custom validation error example
raphael Aug 30, 2026
6590647
Pin examples to final Goa preview
raphael Aug 30, 2026
88b2d7d
chore: pin examples to final Goa preview
raphael Aug 30, 2026
9733bcd
Pin Goa v3.31.0-preview.3
raphael Aug 31, 2026
b497556
Merge stable dependency updates into the preview
raphael Sep 16, 2026
adcc1bc
Sync examples with the stable Goa generation candidate
raphael Sep 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,19 @@

This repository contains examples of microservices implemented using
[Goa](https://github.com/goadesign/goa). Each example focuses on a specific topic as indicated by
the directory name. The [cellar](https://github.com/goadesign/examples/tree/master/cellar) example
the directory name. The [cellar](https://github.com/goadesign/examples/tree/main/cellar) example
provides a complete implementation of a simple microservice.
The [retry](https://github.com/goadesign/examples/tree/master/retry) example shows how generated
The [retry](https://github.com/goadesign/examples/tree/main/retry) example shows how generated
HTTP and gRPC clients safely retry temporary failures.

The v3.31.0 examples accompany Goa v3.31.0 and require Go 1.26 or later.
This Goa release includes intentional generated-source and transport changes.
When adapting an existing application, read the
[upgrade guide](https://github.com/goadesign/goa/blob/v3.31.0/UPGRADING.md)
and use matching Goa and examples versions. Regenerate the complete `gen`
directory and update handwritten interceptors, multipart decoders, and command
starters as described there.

The samples in each directory serve as templates, and you can clone them using the `gonew` command, as explained in [this blog post](https://go.dev/blog/gonew).

```shell
Expand Down
4 changes: 1 addition & 3 deletions basic/gen/calc/service.go

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

2 changes: 1 addition & 1 deletion basic/gen/goa.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"goa_version": "v3.30.0"
"goa_version": "v3.31.0-preview.5"
}
18 changes: 11 additions & 7 deletions basic/gen/grpc/calc/client/cli.go

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

5 changes: 4 additions & 1 deletion basic/gen/grpc/calc/client/client.go

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

3 changes: 3 additions & 0 deletions basic/gen/grpc/calc/client/encode_decode.go

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

38 changes: 29 additions & 9 deletions basic/gen/grpc/calc/client/types.go

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

39 changes: 22 additions & 17 deletions basic/gen/grpc/calc/pb/goagen_basic_calc.pb.go

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

6 changes: 3 additions & 3 deletions basic/gen/grpc/calc/pb/goagen_basic_calc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ service Calc {

message MultiplyRequest {
// Left operand
sint32 a = 1;
optional sint32 a = 1;
// Right operand
sint32 b = 2;
optional sint32 b = 2;
}

message MultiplyResponse {
sint32 field = 1;
optional sint32 field = 1;
}
2 changes: 1 addition & 1 deletion basic/gen/grpc/calc/pb/goagen_basic_calc_grpc.pb.go

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

3 changes: 3 additions & 0 deletions basic/gen/grpc/calc/server/encode_decode.go

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

25 changes: 18 additions & 7 deletions basic/gen/grpc/calc/server/types.go

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

29 changes: 25 additions & 4 deletions basic/gen/grpc/cli/calc/cli.go

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

Loading
Loading