diff --git a/basic/gen/calc/client.go b/basic/gen/calc/client.go index acd46159..84d6cbe4 100644 --- a/basic/gen/calc/client.go +++ b/basic/gen/calc/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc client // diff --git a/basic/gen/calc/endpoints.go b/basic/gen/calc/endpoints.go index 1a90d8e2..5163a8a9 100644 --- a/basic/gen/calc/endpoints.go +++ b/basic/gen/calc/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc endpoints // diff --git a/basic/gen/calc/service.go b/basic/gen/calc/service.go index 86400d72..54cb6020 100644 --- a/basic/gen/calc/service.go +++ b/basic/gen/calc/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc service // diff --git a/basic/gen/grpc/calc/client/cli.go b/basic/gen/grpc/calc/client/cli.go index 94fa1cf7..6472d49c 100644 --- a/basic/gen/grpc/calc/client/cli.go +++ b/basic/gen/grpc/calc/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc gRPC client CLI support package // diff --git a/basic/gen/grpc/calc/client/client.go b/basic/gen/grpc/calc/client/client.go index cb704c57..0eb1085b 100644 --- a/basic/gen/grpc/calc/client/client.go +++ b/basic/gen/grpc/calc/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc gRPC client // @@ -20,17 +20,13 @@ import ( type Client struct { grpccli calcpb.CalcClient opts []grpc.CallOption -} - -// NewClient instantiates gRPC client for all the calc service servers. +} // NewClient instantiates gRPC client for all the calc service servers. func NewClient(cc *grpc.ClientConn, opts ...grpc.CallOption) *Client { return &Client{ grpccli: calcpb.NewCalcClient(cc), opts: opts, } -} - -// Multiply calls the "Multiply" function in calcpb.CalcClient interface. +} // Multiply calls the "Multiply" function in calcpb.CalcClient interface. func (c *Client) Multiply() goa.Endpoint { return func(ctx context.Context, v any) (any, error) { inv := goagrpc.NewInvoker( diff --git a/basic/gen/grpc/calc/client/encode_decode.go b/basic/gen/grpc/calc/client/encode_decode.go index 566f4938..335451b2 100644 --- a/basic/gen/grpc/calc/client/encode_decode.go +++ b/basic/gen/grpc/calc/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc gRPC client encoders and decoders // diff --git a/basic/gen/grpc/calc/client/types.go b/basic/gen/grpc/calc/client/types.go index 9a9edf78..e5e76a75 100644 --- a/basic/gen/grpc/calc/client/types.go +++ b/basic/gen/grpc/calc/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc gRPC client types // diff --git a/basic/gen/grpc/calc/pb/goagen_basic_calc.pb.go b/basic/gen/grpc/calc/pb/goagen_basic_calc.pb.go index 7cc72fe9..fe8d46dc 100644 --- a/basic/gen/grpc/calc/pb/goagen_basic_calc.pb.go +++ b/basic/gen/grpc/calc/pb/goagen_basic_calc.pb.go @@ -1,4 +1,4 @@ -// Code generated with goa v3.16.2, DO NOT EDIT. +// Code generated with goa v3.17.0, DO NOT EDIT. // // calc protocol buffer definition // @@ -7,8 +7,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v5.26.1 +// protoc-gen-go v1.34.2 +// protoc v5.27.1 // source: goagen_basic_calc.proto package calcpb @@ -162,7 +162,7 @@ func file_goagen_basic_calc_proto_rawDescGZIP() []byte { } var file_goagen_basic_calc_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_goagen_basic_calc_proto_goTypes = []interface{}{ +var file_goagen_basic_calc_proto_goTypes = []any{ (*MultiplyRequest)(nil), // 0: calc.MultiplyRequest (*MultiplyResponse)(nil), // 1: calc.MultiplyResponse } @@ -182,7 +182,7 @@ func file_goagen_basic_calc_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_goagen_basic_calc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_goagen_basic_calc_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*MultiplyRequest); i { case 0: return &v.state @@ -194,7 +194,7 @@ func file_goagen_basic_calc_proto_init() { return nil } } - file_goagen_basic_calc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_goagen_basic_calc_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*MultiplyResponse); i { case 0: return &v.state diff --git a/basic/gen/grpc/calc/pb/goagen_basic_calc.proto b/basic/gen/grpc/calc/pb/goagen_basic_calc.proto index 840859a9..7bdcf254 100644 --- a/basic/gen/grpc/calc/pb/goagen_basic_calc.proto +++ b/basic/gen/grpc/calc/pb/goagen_basic_calc.proto @@ -1,4 +1,4 @@ -// Code generated with goa v3.16.2, DO NOT EDIT. +// Code generated with goa v3.17.0, DO NOT EDIT. // // calc protocol buffer definition // diff --git a/basic/gen/grpc/calc/pb/goagen_basic_calc_grpc.pb.go b/basic/gen/grpc/calc/pb/goagen_basic_calc_grpc.pb.go index 83f87d5e..0a376ac9 100644 --- a/basic/gen/grpc/calc/pb/goagen_basic_calc_grpc.pb.go +++ b/basic/gen/grpc/calc/pb/goagen_basic_calc_grpc.pb.go @@ -1,4 +1,4 @@ -// Code generated with goa v3.16.2, DO NOT EDIT. +// Code generated with goa v3.17.0, DO NOT EDIT. // // calc protocol buffer definition // @@ -7,8 +7,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v5.26.1 +// - protoc-gen-go-grpc v1.4.0 +// - protoc v5.27.1 // source: goagen_basic_calc.proto package calcpb @@ -22,8 +22,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( Calc_Multiply_FullMethodName = "/calc.Calc/Multiply" @@ -32,6 +32,8 @@ const ( // CalcClient is the client API for Calc service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +// +// The calc service performs operations on numbers type CalcClient interface { // Multiply implements multiply. Multiply(ctx context.Context, in *MultiplyRequest, opts ...grpc.CallOption) (*MultiplyResponse, error) @@ -46,8 +48,9 @@ func NewCalcClient(cc grpc.ClientConnInterface) CalcClient { } func (c *calcClient) Multiply(ctx context.Context, in *MultiplyRequest, opts ...grpc.CallOption) (*MultiplyResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(MultiplyResponse) - err := c.cc.Invoke(ctx, Calc_Multiply_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Calc_Multiply_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -57,6 +60,8 @@ func (c *calcClient) Multiply(ctx context.Context, in *MultiplyRequest, opts ... // CalcServer is the server API for Calc service. // All implementations must embed UnimplementedCalcServer // for forward compatibility +// +// The calc service performs operations on numbers type CalcServer interface { // Multiply implements multiply. Multiply(context.Context, *MultiplyRequest) (*MultiplyResponse, error) diff --git a/basic/gen/grpc/calc/server/encode_decode.go b/basic/gen/grpc/calc/server/encode_decode.go index fd9fd7f5..8438b392 100644 --- a/basic/gen/grpc/calc/server/encode_decode.go +++ b/basic/gen/grpc/calc/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc gRPC server encoders and decoders // diff --git a/basic/gen/grpc/calc/server/server.go b/basic/gen/grpc/calc/server/server.go index cd3aaee8..bf02db9d 100644 --- a/basic/gen/grpc/calc/server/server.go +++ b/basic/gen/grpc/calc/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc gRPC server // diff --git a/basic/gen/grpc/calc/server/types.go b/basic/gen/grpc/calc/server/types.go index 91aec258..bc43cb9c 100644 --- a/basic/gen/grpc/calc/server/types.go +++ b/basic/gen/grpc/calc/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc gRPC server types // diff --git a/basic/gen/grpc/cli/calc/cli.go b/basic/gen/grpc/cli/calc/cli.go index b7147c0c..1d742be3 100644 --- a/basic/gen/grpc/cli/calc/cli.go +++ b/basic/gen/grpc/cli/calc/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc gRPC client CLI support package // @@ -119,9 +119,7 @@ func ParseEndpoint(cc *grpc.ClientConn, opts ...grpc.CallOption) (goa.Endpoint, } return endpoint, data, nil -} - -// calcUsage displays the usage of the calc command and its subcommands. +} // calcUsage displays the usage of the calc command and its subcommands. func calcUsage() { fmt.Fprintf(os.Stderr, `The calc service performs operations on numbers Usage: diff --git a/basic/gen/http/calc/client/cli.go b/basic/gen/http/calc/client/cli.go index 19408503..76ec3e64 100644 --- a/basic/gen/http/calc/client/cli.go +++ b/basic/gen/http/calc/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc HTTP client CLI support package // diff --git a/basic/gen/http/calc/client/client.go b/basic/gen/http/calc/client/client.go index 11a04b92..b0bcd65b 100644 --- a/basic/gen/http/calc/client/client.go +++ b/basic/gen/http/calc/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc client HTTP transport // diff --git a/basic/gen/http/calc/client/encode_decode.go b/basic/gen/http/calc/client/encode_decode.go index 61d99309..799d66b7 100644 --- a/basic/gen/http/calc/client/encode_decode.go +++ b/basic/gen/http/calc/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc HTTP client encoders and decoders // diff --git a/basic/gen/http/calc/client/paths.go b/basic/gen/http/calc/client/paths.go index a7a8378a..e196d54b 100644 --- a/basic/gen/http/calc/client/paths.go +++ b/basic/gen/http/calc/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the calc service. // diff --git a/basic/gen/http/calc/client/types.go b/basic/gen/http/calc/client/types.go index be6e2e2e..0376df93 100644 --- a/basic/gen/http/calc/client/types.go +++ b/basic/gen/http/calc/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc HTTP client types // diff --git a/basic/gen/http/calc/server/encode_decode.go b/basic/gen/http/calc/server/encode_decode.go index 7d06f4b7..34a5f6ed 100644 --- a/basic/gen/http/calc/server/encode_decode.go +++ b/basic/gen/http/calc/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc HTTP server encoders and decoders // diff --git a/basic/gen/http/calc/server/paths.go b/basic/gen/http/calc/server/paths.go index 55ae4f5f..2a525f2f 100644 --- a/basic/gen/http/calc/server/paths.go +++ b/basic/gen/http/calc/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the calc service. // diff --git a/basic/gen/http/calc/server/server.go b/basic/gen/http/calc/server/server.go index 0587bab3..9b07798f 100644 --- a/basic/gen/http/calc/server/server.go +++ b/basic/gen/http/calc/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc HTTP server // diff --git a/basic/gen/http/calc/server/types.go b/basic/gen/http/calc/server/types.go index e2411216..3133cdc6 100644 --- a/basic/gen/http/calc/server/types.go +++ b/basic/gen/http/calc/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc HTTP server types // diff --git a/basic/gen/http/cli/calc/cli.go b/basic/gen/http/cli/calc/cli.go index bb4bc749..4a0385c8 100644 --- a/basic/gen/http/cli/calc/cli.go +++ b/basic/gen/http/cli/calc/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc HTTP client CLI support package // diff --git a/basic/go.mod b/basic/go.mod index cdd54940..7b2f4bb8 100644 --- a/basic/go.mod +++ b/basic/go.mod @@ -3,24 +3,24 @@ module goa.design/examples/basic go 1.21.1 require ( - goa.design/goa/v3 v3.16.2 + goa.design/goa/v3 v3.17.0 google.golang.org/grpc v1.64.0 - google.golang.org/protobuf v1.34.1 + google.golang.org/protobuf v1.34.2 ) require ( github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 // indirect - github.com/go-chi/chi/v5 v5.0.12 // indirect + github.com/go-chi/chi/v5 v5.1.0 // indirect github.com/google/uuid v1.6.0 // indirect - github.com/gorilla/websocket v1.5.1 // indirect + github.com/gorilla/websocket v1.5.3 // indirect github.com/manveru/faker v0.0.0-20171103152722-9fbc68a78c4d // indirect github.com/sergi/go-diff v1.3.1 // indirect - golang.org/x/mod v0.17.0 // indirect - golang.org/x/net v0.25.0 // indirect + golang.org/x/mod v0.18.0 // indirect + golang.org/x/net v0.26.0 // indirect golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.20.0 // indirect - golang.org/x/text v0.15.0 // indirect - golang.org/x/tools v0.21.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 // indirect + golang.org/x/sys v0.21.0 // indirect + golang.org/x/text v0.16.0 // indirect + golang.org/x/tools v0.22.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/basic/go.sum b/basic/go.sum index 3ea4fd35..230256fd 100644 --- a/basic/go.sum +++ b/basic/go.sum @@ -3,14 +3,14 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 h1:MGKhKyiYrvMDZsmLR/+RGffQSXwEkXgfLSA08qDn9AI= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598/go.mod h1:0FpDmbrt36utu8jEmeU05dPC9AB5tsLYVVi+ZHfyuwI= -github.com/go-chi/chi/v5 v5.0.12 h1:9euLV5sTrTNTRUU9POmDUvfxyj6LAABLUcEWO+JJb4s= -github.com/go-chi/chi/v5 v5.0.12/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= +github.com/go-chi/chi/v5 v5.1.0 h1:acVI1TYaD+hhedDJ3r54HyA6sExp3HfXq7QWEEY/xMw= +github.com/go-chi/chi/v5 v5.1.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= -github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= +github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg= +github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= @@ -28,26 +28,26 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -goa.design/goa/v3 v3.16.2 h1:EwsYmtyhx4bmKjQ/+150nF26DIB5NjgYZyJq6Cg2jxA= -goa.design/goa/v3 v3.16.2/go.mod h1:YAY4TIUGlQH0Rj9AWtAyPktH3WLGWRaGxi3P19RvGXU= -golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= -golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= +goa.design/goa/v3 v3.17.0 h1:J+JUCLRh1rZXXYHtc3/ZrxqLAk3uVMwfWIKIRx+cIOU= +goa.design/goa/v3 v3.17.0/go.mod h1:MXpGAWGsIn2BVTRzB6Q3n1GzxgeVKXshZrh5+1eUz6Q= +golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0= +golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ= +golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= -golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/tools v0.21.0 h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw= -golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 h1:AgADTJarZTBqgjiUzRgfaBchgYB3/WFTC80GPwsMcRI= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0= +golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= +golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= +golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= +golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA= +golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 h1:BwIjyKYGsK9dMCBOorzRri8MQwmi7mT9rGHsCEinZkA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094/go.mod h1:Ue6ibwXGpU+dqIcODieyLOcgj7z8+IcskoNIgZxtrFY= google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY= google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg= -google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg= -google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= +google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/cellar/gen/grpc/cli/cellar/cli.go b/cellar/gen/grpc/cli/cellar/cli.go index 9f877710..026b657c 100644 --- a/cellar/gen/grpc/cli/cellar/cli.go +++ b/cellar/gen/grpc/cli/cellar/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // cellar gRPC client CLI support package // @@ -184,7 +184,6 @@ func ParseEndpoint(cc *grpc.ClientConn, opts ...grpc.CallOption) (goa.Endpoint, switch epn { case "list": endpoint = c.List() - data = nil case "show": endpoint = c.Show() data, err = storagec.BuildShowPayload(*storageShowMessageFlag, *storageShowViewFlag) @@ -211,9 +210,7 @@ func ParseEndpoint(cc *grpc.ClientConn, opts ...grpc.CallOption) (goa.Endpoint, } return endpoint, data, nil -} - -// sommelierUsage displays the usage of the sommelier command and its +} // sommelierUsage displays the usage of the sommelier command and its // subcommands. func sommelierUsage() { fmt.Fprintf(os.Stderr, `The sommelier service retrieves bottles given a set of criteria. diff --git a/cellar/gen/grpc/sommelier/client/cli.go b/cellar/gen/grpc/sommelier/client/cli.go index 2cefdf02..939e846c 100644 --- a/cellar/gen/grpc/sommelier/client/cli.go +++ b/cellar/gen/grpc/sommelier/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // sommelier gRPC client CLI support package // diff --git a/cellar/gen/grpc/sommelier/client/client.go b/cellar/gen/grpc/sommelier/client/client.go index c9e38b61..26170156 100644 --- a/cellar/gen/grpc/sommelier/client/client.go +++ b/cellar/gen/grpc/sommelier/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // sommelier gRPC client // @@ -21,17 +21,13 @@ import ( type Client struct { grpccli sommelierpb.SommelierClient opts []grpc.CallOption -} - -// NewClient instantiates gRPC client for all the sommelier service servers. +} // NewClient instantiates gRPC client for all the sommelier service servers. func NewClient(cc *grpc.ClientConn, opts ...grpc.CallOption) *Client { return &Client{ grpccli: sommelierpb.NewSommelierClient(cc), opts: opts, } -} - -// Pick calls the "Pick" function in sommelierpb.SommelierClient interface. +} // Pick calls the "Pick" function in sommelierpb.SommelierClient interface. func (c *Client) Pick() goa.Endpoint { return func(ctx context.Context, v any) (any, error) { inv := goagrpc.NewInvoker( diff --git a/cellar/gen/grpc/sommelier/client/encode_decode.go b/cellar/gen/grpc/sommelier/client/encode_decode.go index 84171937..e90975aa 100644 --- a/cellar/gen/grpc/sommelier/client/encode_decode.go +++ b/cellar/gen/grpc/sommelier/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // sommelier gRPC client encoders and decoders // diff --git a/cellar/gen/grpc/sommelier/client/types.go b/cellar/gen/grpc/sommelier/client/types.go index 2b0bf669..02ee8f73 100644 --- a/cellar/gen/grpc/sommelier/client/types.go +++ b/cellar/gen/grpc/sommelier/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // sommelier gRPC client types // diff --git a/cellar/gen/grpc/sommelier/pb/goagen_cellar_sommelier.pb.go b/cellar/gen/grpc/sommelier/pb/goagen_cellar_sommelier.pb.go index 0c4eac8d..9b316ff2 100644 --- a/cellar/gen/grpc/sommelier/pb/goagen_cellar_sommelier.pb.go +++ b/cellar/gen/grpc/sommelier/pb/goagen_cellar_sommelier.pb.go @@ -1,4 +1,4 @@ -// Code generated with goa v3.16.2, DO NOT EDIT. +// Code generated with goa v3.17.0, DO NOT EDIT. // // sommelier protocol buffer definition // @@ -7,8 +7,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v5.26.1 +// protoc-gen-go v1.34.2 +// protoc v5.27.1 // source: goagen_cellar_sommelier.proto package sommelierpb @@ -444,7 +444,7 @@ func file_goagen_cellar_sommelier_proto_rawDescGZIP() []byte { } var file_goagen_cellar_sommelier_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_goagen_cellar_sommelier_proto_goTypes = []interface{}{ +var file_goagen_cellar_sommelier_proto_goTypes = []any{ (*PickRequest)(nil), // 0: sommelier.PickRequest (*StoredBottleCollection)(nil), // 1: sommelier.StoredBottleCollection (*StoredBottle)(nil), // 2: sommelier.StoredBottle @@ -470,7 +470,7 @@ func file_goagen_cellar_sommelier_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_goagen_cellar_sommelier_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_sommelier_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*PickRequest); i { case 0: return &v.state @@ -482,7 +482,7 @@ func file_goagen_cellar_sommelier_proto_init() { return nil } } - file_goagen_cellar_sommelier_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_sommelier_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*StoredBottleCollection); i { case 0: return &v.state @@ -494,7 +494,7 @@ func file_goagen_cellar_sommelier_proto_init() { return nil } } - file_goagen_cellar_sommelier_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_sommelier_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*StoredBottle); i { case 0: return &v.state @@ -506,7 +506,7 @@ func file_goagen_cellar_sommelier_proto_init() { return nil } } - file_goagen_cellar_sommelier_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_sommelier_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*Winery); i { case 0: return &v.state @@ -518,7 +518,7 @@ func file_goagen_cellar_sommelier_proto_init() { return nil } } - file_goagen_cellar_sommelier_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_sommelier_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*Component); i { case 0: return &v.state @@ -531,10 +531,10 @@ func file_goagen_cellar_sommelier_proto_init() { } } } - file_goagen_cellar_sommelier_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_goagen_cellar_sommelier_proto_msgTypes[2].OneofWrappers = []interface{}{} - file_goagen_cellar_sommelier_proto_msgTypes[3].OneofWrappers = []interface{}{} - file_goagen_cellar_sommelier_proto_msgTypes[4].OneofWrappers = []interface{}{} + file_goagen_cellar_sommelier_proto_msgTypes[0].OneofWrappers = []any{} + file_goagen_cellar_sommelier_proto_msgTypes[2].OneofWrappers = []any{} + file_goagen_cellar_sommelier_proto_msgTypes[3].OneofWrappers = []any{} + file_goagen_cellar_sommelier_proto_msgTypes[4].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/cellar/gen/grpc/sommelier/pb/goagen_cellar_sommelier.proto b/cellar/gen/grpc/sommelier/pb/goagen_cellar_sommelier.proto index 48a97129..a133b7e1 100644 --- a/cellar/gen/grpc/sommelier/pb/goagen_cellar_sommelier.proto +++ b/cellar/gen/grpc/sommelier/pb/goagen_cellar_sommelier.proto @@ -1,4 +1,4 @@ -// Code generated with goa v3.16.2, DO NOT EDIT. +// Code generated with goa v3.17.0, DO NOT EDIT. // // sommelier protocol buffer definition // diff --git a/cellar/gen/grpc/sommelier/pb/goagen_cellar_sommelier_grpc.pb.go b/cellar/gen/grpc/sommelier/pb/goagen_cellar_sommelier_grpc.pb.go index c4415efc..898e67c0 100644 --- a/cellar/gen/grpc/sommelier/pb/goagen_cellar_sommelier_grpc.pb.go +++ b/cellar/gen/grpc/sommelier/pb/goagen_cellar_sommelier_grpc.pb.go @@ -1,4 +1,4 @@ -// Code generated with goa v3.16.2, DO NOT EDIT. +// Code generated with goa v3.17.0, DO NOT EDIT. // // sommelier protocol buffer definition // @@ -7,8 +7,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v5.26.1 +// - protoc-gen-go-grpc v1.4.0 +// - protoc v5.27.1 // source: goagen_cellar_sommelier.proto package sommelierpb @@ -22,8 +22,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( Sommelier_Pick_FullMethodName = "/sommelier.Sommelier/Pick" @@ -32,6 +32,8 @@ const ( // SommelierClient is the client API for Sommelier service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +// +// The sommelier service retrieves bottles given a set of criteria. type SommelierClient interface { // Pick implements pick. Pick(ctx context.Context, in *PickRequest, opts ...grpc.CallOption) (*StoredBottleCollection, error) @@ -46,8 +48,9 @@ func NewSommelierClient(cc grpc.ClientConnInterface) SommelierClient { } func (c *sommelierClient) Pick(ctx context.Context, in *PickRequest, opts ...grpc.CallOption) (*StoredBottleCollection, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(StoredBottleCollection) - err := c.cc.Invoke(ctx, Sommelier_Pick_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Sommelier_Pick_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -57,6 +60,8 @@ func (c *sommelierClient) Pick(ctx context.Context, in *PickRequest, opts ...grp // SommelierServer is the server API for Sommelier service. // All implementations must embed UnimplementedSommelierServer // for forward compatibility +// +// The sommelier service retrieves bottles given a set of criteria. type SommelierServer interface { // Pick implements pick. Pick(context.Context, *PickRequest) (*StoredBottleCollection, error) diff --git a/cellar/gen/grpc/sommelier/server/encode_decode.go b/cellar/gen/grpc/sommelier/server/encode_decode.go index 3250344a..f3cd7258 100644 --- a/cellar/gen/grpc/sommelier/server/encode_decode.go +++ b/cellar/gen/grpc/sommelier/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // sommelier gRPC server encoders and decoders // diff --git a/cellar/gen/grpc/sommelier/server/server.go b/cellar/gen/grpc/sommelier/server/server.go index 1c5d0c83..c8bf58dc 100644 --- a/cellar/gen/grpc/sommelier/server/server.go +++ b/cellar/gen/grpc/sommelier/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // sommelier gRPC server // diff --git a/cellar/gen/grpc/sommelier/server/types.go b/cellar/gen/grpc/sommelier/server/types.go index 272db4b1..610311c7 100644 --- a/cellar/gen/grpc/sommelier/server/types.go +++ b/cellar/gen/grpc/sommelier/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // sommelier gRPC server types // diff --git a/cellar/gen/grpc/storage/client/cli.go b/cellar/gen/grpc/storage/client/cli.go index b77a587c..ee70baa5 100644 --- a/cellar/gen/grpc/storage/client/cli.go +++ b/cellar/gen/grpc/storage/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // storage gRPC client CLI support package // diff --git a/cellar/gen/grpc/storage/client/client.go b/cellar/gen/grpc/storage/client/client.go index e2d34d1f..1d8fbcc3 100644 --- a/cellar/gen/grpc/storage/client/client.go +++ b/cellar/gen/grpc/storage/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // storage gRPC client // @@ -21,17 +21,13 @@ import ( type Client struct { grpccli storagepb.StorageClient opts []grpc.CallOption -} - -// NewClient instantiates gRPC client for all the storage service servers. +} // NewClient instantiates gRPC client for all the storage service servers. func NewClient(cc *grpc.ClientConn, opts ...grpc.CallOption) *Client { return &Client{ grpccli: storagepb.NewStorageClient(cc), opts: opts, } -} - -// List calls the "List" function in storagepb.StorageClient interface. +} // List calls the "List" function in storagepb.StorageClient interface. func (c *Client) List() goa.Endpoint { return func(ctx context.Context, v any) (any, error) { inv := goagrpc.NewInvoker( @@ -44,9 +40,7 @@ func (c *Client) List() goa.Endpoint { } return res, nil } -} - -// Show calls the "Show" function in storagepb.StorageClient interface. +} // Show calls the "Show" function in storagepb.StorageClient interface. func (c *Client) Show() goa.Endpoint { return func(ctx context.Context, v any) (any, error) { inv := goagrpc.NewInvoker( @@ -67,9 +61,7 @@ func (c *Client) Show() goa.Endpoint { } return res, nil } -} - -// Add calls the "Add" function in storagepb.StorageClient interface. +} // Add calls the "Add" function in storagepb.StorageClient interface. func (c *Client) Add() goa.Endpoint { return func(ctx context.Context, v any) (any, error) { inv := goagrpc.NewInvoker( @@ -82,9 +74,7 @@ func (c *Client) Add() goa.Endpoint { } return res, nil } -} - -// Remove calls the "Remove" function in storagepb.StorageClient interface. +} // Remove calls the "Remove" function in storagepb.StorageClient interface. func (c *Client) Remove() goa.Endpoint { return func(ctx context.Context, v any) (any, error) { inv := goagrpc.NewInvoker( @@ -97,9 +87,7 @@ func (c *Client) Remove() goa.Endpoint { } return res, nil } -} - -// Rate calls the "Rate" function in storagepb.StorageClient interface. +} // Rate calls the "Rate" function in storagepb.StorageClient interface. func (c *Client) Rate() goa.Endpoint { return func(ctx context.Context, v any) (any, error) { inv := goagrpc.NewInvoker( @@ -112,9 +100,7 @@ func (c *Client) Rate() goa.Endpoint { } return res, nil } -} - -// MultiAdd calls the "MultiAdd" function in storagepb.StorageClient interface. +} // MultiAdd calls the "MultiAdd" function in storagepb.StorageClient interface. func (c *Client) MultiAdd() goa.Endpoint { return func(ctx context.Context, v any) (any, error) { inv := goagrpc.NewInvoker( @@ -127,9 +113,7 @@ func (c *Client) MultiAdd() goa.Endpoint { } return res, nil } -} - -// MultiUpdate calls the "MultiUpdate" function in storagepb.StorageClient +} // MultiUpdate calls the "MultiUpdate" function in storagepb.StorageClient // interface. func (c *Client) MultiUpdate() goa.Endpoint { return func(ctx context.Context, v any) (any, error) { diff --git a/cellar/gen/grpc/storage/client/encode_decode.go b/cellar/gen/grpc/storage/client/encode_decode.go index de981cc2..be1aa4c0 100644 --- a/cellar/gen/grpc/storage/client/encode_decode.go +++ b/cellar/gen/grpc/storage/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // storage gRPC client encoders and decoders // @@ -50,9 +50,7 @@ func DecodeListResponse(ctx context.Context, v any, hdr, trlr metadata.MD) (any, return nil, err } return storage.NewStoredBottleCollection(vres), nil -} - -// BuildShowFunc builds the remote method to invoke for "storage" service +} // BuildShowFunc builds the remote method to invoke for "storage" service // "show" endpoint. func BuildShowFunc(grpccli storagepb.StorageClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc { return func(ctx context.Context, reqpb any, opts ...grpc.CallOption) (any, error) { @@ -96,9 +94,7 @@ func DecodeShowResponse(ctx context.Context, v any, hdr, trlr metadata.MD) (any, return nil, err } return storage.NewStoredBottle(vres), nil -} - -// BuildAddFunc builds the remote method to invoke for "storage" service "add" +} // BuildAddFunc builds the remote method to invoke for "storage" service "add" // endpoint. func BuildAddFunc(grpccli storagepb.StorageClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc { return func(ctx context.Context, reqpb any, opts ...grpc.CallOption) (any, error) { @@ -129,9 +125,7 @@ func DecodeAddResponse(ctx context.Context, v any, hdr, trlr metadata.MD) (any, } res := NewAddResult(message) return res, nil -} - -// BuildRemoveFunc builds the remote method to invoke for "storage" service +} // BuildRemoveFunc builds the remote method to invoke for "storage" service // "remove" endpoint. func BuildRemoveFunc(grpccli storagepb.StorageClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc { return func(ctx context.Context, reqpb any, opts ...grpc.CallOption) (any, error) { @@ -152,9 +146,7 @@ func EncodeRemoveRequest(ctx context.Context, v any, md *metadata.MD) (any, erro return nil, goagrpc.ErrInvalidType("storage", "remove", "*storage.RemovePayload", v) } return NewProtoRemoveRequest(payload), nil -} - -// BuildRateFunc builds the remote method to invoke for "storage" service +} // BuildRateFunc builds the remote method to invoke for "storage" service // "rate" endpoint. func BuildRateFunc(grpccli storagepb.StorageClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc { return func(ctx context.Context, reqpb any, opts ...grpc.CallOption) (any, error) { @@ -175,9 +167,7 @@ func EncodeRateRequest(ctx context.Context, v any, md *metadata.MD) (any, error) return nil, goagrpc.ErrInvalidType("storage", "rate", "map[uint32][]string", v) } return NewProtoRateRequest(payload), nil -} - -// BuildMultiAddFunc builds the remote method to invoke for "storage" service +} // BuildMultiAddFunc builds the remote method to invoke for "storage" service // "multi_add" endpoint. func BuildMultiAddFunc(grpccli storagepb.StorageClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc { return func(ctx context.Context, reqpb any, opts ...grpc.CallOption) (any, error) { @@ -208,9 +198,7 @@ func DecodeMultiAddResponse(ctx context.Context, v any, hdr, trlr metadata.MD) ( } res := NewMultiAddResult(message) return res, nil -} - -// BuildMultiUpdateFunc builds the remote method to invoke for "storage" +} // BuildMultiUpdateFunc builds the remote method to invoke for "storage" // service "multi_update" endpoint. func BuildMultiUpdateFunc(grpccli storagepb.StorageClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc { return func(ctx context.Context, reqpb any, opts ...grpc.CallOption) (any, error) { diff --git a/cellar/gen/grpc/storage/client/types.go b/cellar/gen/grpc/storage/client/types.go index 34e802af..7f8e002c 100644 --- a/cellar/gen/grpc/storage/client/types.go +++ b/cellar/gen/grpc/storage/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // storage gRPC client types // diff --git a/cellar/gen/grpc/storage/pb/goagen_cellar_storage.pb.go b/cellar/gen/grpc/storage/pb/goagen_cellar_storage.pb.go index 599982bd..f76db9cb 100644 --- a/cellar/gen/grpc/storage/pb/goagen_cellar_storage.pb.go +++ b/cellar/gen/grpc/storage/pb/goagen_cellar_storage.pb.go @@ -1,4 +1,4 @@ -// Code generated with goa v3.16.2, DO NOT EDIT. +// Code generated with goa v3.17.0, DO NOT EDIT. // // storage protocol buffer definition // @@ -7,8 +7,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v5.26.1 +// protoc-gen-go v1.34.2 +// protoc v5.27.1 // source: goagen_cellar_storage.proto package storagepb @@ -1364,7 +1364,7 @@ func file_goagen_cellar_storage_proto_rawDescGZIP() []byte { } var file_goagen_cellar_storage_proto_msgTypes = make([]protoimpl.MessageInfo, 21) -var file_goagen_cellar_storage_proto_goTypes = []interface{}{ +var file_goagen_cellar_storage_proto_goTypes = []any{ (*ListRequest)(nil), // 0: storage.ListRequest (*StoredBottleCollection)(nil), // 1: storage.StoredBottleCollection (*StoredBottle)(nil), // 2: storage.StoredBottle @@ -1428,7 +1428,7 @@ func file_goagen_cellar_storage_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_goagen_cellar_storage_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_storage_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*ListRequest); i { case 0: return &v.state @@ -1440,7 +1440,7 @@ func file_goagen_cellar_storage_proto_init() { return nil } } - file_goagen_cellar_storage_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_storage_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*StoredBottleCollection); i { case 0: return &v.state @@ -1452,7 +1452,7 @@ func file_goagen_cellar_storage_proto_init() { return nil } } - file_goagen_cellar_storage_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_storage_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*StoredBottle); i { case 0: return &v.state @@ -1464,7 +1464,7 @@ func file_goagen_cellar_storage_proto_init() { return nil } } - file_goagen_cellar_storage_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_storage_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*Winery); i { case 0: return &v.state @@ -1476,7 +1476,7 @@ func file_goagen_cellar_storage_proto_init() { return nil } } - file_goagen_cellar_storage_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_storage_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*Component); i { case 0: return &v.state @@ -1488,7 +1488,7 @@ func file_goagen_cellar_storage_proto_init() { return nil } } - file_goagen_cellar_storage_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_storage_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ShowNotFoundError); i { case 0: return &v.state @@ -1500,7 +1500,7 @@ func file_goagen_cellar_storage_proto_init() { return nil } } - file_goagen_cellar_storage_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_storage_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*ShowRequest); i { case 0: return &v.state @@ -1512,7 +1512,7 @@ func file_goagen_cellar_storage_proto_init() { return nil } } - file_goagen_cellar_storage_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_storage_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*ShowResponse); i { case 0: return &v.state @@ -1524,7 +1524,7 @@ func file_goagen_cellar_storage_proto_init() { return nil } } - file_goagen_cellar_storage_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_storage_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*AddRequest); i { case 0: return &v.state @@ -1536,7 +1536,7 @@ func file_goagen_cellar_storage_proto_init() { return nil } } - file_goagen_cellar_storage_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_storage_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*AddResponse); i { case 0: return &v.state @@ -1548,7 +1548,7 @@ func file_goagen_cellar_storage_proto_init() { return nil } } - file_goagen_cellar_storage_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_storage_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*RemoveRequest); i { case 0: return &v.state @@ -1560,7 +1560,7 @@ func file_goagen_cellar_storage_proto_init() { return nil } } - file_goagen_cellar_storage_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_storage_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*RemoveResponse); i { case 0: return &v.state @@ -1572,7 +1572,7 @@ func file_goagen_cellar_storage_proto_init() { return nil } } - file_goagen_cellar_storage_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_storage_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*RateRequest); i { case 0: return &v.state @@ -1584,7 +1584,7 @@ func file_goagen_cellar_storage_proto_init() { return nil } } - file_goagen_cellar_storage_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_storage_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*ArrayOfString); i { case 0: return &v.state @@ -1596,7 +1596,7 @@ func file_goagen_cellar_storage_proto_init() { return nil } } - file_goagen_cellar_storage_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_storage_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*RateResponse); i { case 0: return &v.state @@ -1608,7 +1608,7 @@ func file_goagen_cellar_storage_proto_init() { return nil } } - file_goagen_cellar_storage_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_storage_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*MultiAddRequest); i { case 0: return &v.state @@ -1620,7 +1620,7 @@ func file_goagen_cellar_storage_proto_init() { return nil } } - file_goagen_cellar_storage_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_storage_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*Bottle); i { case 0: return &v.state @@ -1632,7 +1632,7 @@ func file_goagen_cellar_storage_proto_init() { return nil } } - file_goagen_cellar_storage_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_storage_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*MultiAddResponse); i { case 0: return &v.state @@ -1644,7 +1644,7 @@ func file_goagen_cellar_storage_proto_init() { return nil } } - file_goagen_cellar_storage_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_storage_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*MultiUpdateRequest); i { case 0: return &v.state @@ -1656,7 +1656,7 @@ func file_goagen_cellar_storage_proto_init() { return nil } } - file_goagen_cellar_storage_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_goagen_cellar_storage_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*MultiUpdateResponse); i { case 0: return &v.state @@ -1669,12 +1669,12 @@ func file_goagen_cellar_storage_proto_init() { } } } - file_goagen_cellar_storage_proto_msgTypes[2].OneofWrappers = []interface{}{} - file_goagen_cellar_storage_proto_msgTypes[3].OneofWrappers = []interface{}{} - file_goagen_cellar_storage_proto_msgTypes[4].OneofWrappers = []interface{}{} - file_goagen_cellar_storage_proto_msgTypes[7].OneofWrappers = []interface{}{} - file_goagen_cellar_storage_proto_msgTypes[8].OneofWrappers = []interface{}{} - file_goagen_cellar_storage_proto_msgTypes[16].OneofWrappers = []interface{}{} + file_goagen_cellar_storage_proto_msgTypes[2].OneofWrappers = []any{} + file_goagen_cellar_storage_proto_msgTypes[3].OneofWrappers = []any{} + file_goagen_cellar_storage_proto_msgTypes[4].OneofWrappers = []any{} + file_goagen_cellar_storage_proto_msgTypes[7].OneofWrappers = []any{} + file_goagen_cellar_storage_proto_msgTypes[8].OneofWrappers = []any{} + file_goagen_cellar_storage_proto_msgTypes[16].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/cellar/gen/grpc/storage/pb/goagen_cellar_storage.proto b/cellar/gen/grpc/storage/pb/goagen_cellar_storage.proto index 1b9886bc..0ab2f15c 100644 --- a/cellar/gen/grpc/storage/pb/goagen_cellar_storage.proto +++ b/cellar/gen/grpc/storage/pb/goagen_cellar_storage.proto @@ -1,4 +1,4 @@ -// Code generated with goa v3.16.2, DO NOT EDIT. +// Code generated with goa v3.17.0, DO NOT EDIT. // // storage protocol buffer definition // diff --git a/cellar/gen/grpc/storage/pb/goagen_cellar_storage_grpc.pb.go b/cellar/gen/grpc/storage/pb/goagen_cellar_storage_grpc.pb.go index 4dc0d9fc..d74f3480 100644 --- a/cellar/gen/grpc/storage/pb/goagen_cellar_storage_grpc.pb.go +++ b/cellar/gen/grpc/storage/pb/goagen_cellar_storage_grpc.pb.go @@ -1,4 +1,4 @@ -// Code generated with goa v3.16.2, DO NOT EDIT. +// Code generated with goa v3.17.0, DO NOT EDIT. // // storage protocol buffer definition // @@ -7,8 +7,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v5.26.1 +// - protoc-gen-go-grpc v1.4.0 +// - protoc v5.27.1 // source: goagen_cellar_storage.proto package storagepb @@ -22,8 +22,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( Storage_List_FullMethodName = "/storage.Storage/List" @@ -38,6 +38,8 @@ const ( // StorageClient is the client API for Storage service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +// +// The storage service makes it possible to view, add or remove wine bottles. type StorageClient interface { // List all stored bottles List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*StoredBottleCollection, error) @@ -68,8 +70,9 @@ func NewStorageClient(cc grpc.ClientConnInterface) StorageClient { } func (c *storageClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*StoredBottleCollection, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(StoredBottleCollection) - err := c.cc.Invoke(ctx, Storage_List_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Storage_List_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -77,8 +80,9 @@ func (c *storageClient) List(ctx context.Context, in *ListRequest, opts ...grpc. } func (c *storageClient) Show(ctx context.Context, in *ShowRequest, opts ...grpc.CallOption) (*ShowResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ShowResponse) - err := c.cc.Invoke(ctx, Storage_Show_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Storage_Show_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -86,8 +90,9 @@ func (c *storageClient) Show(ctx context.Context, in *ShowRequest, opts ...grpc. } func (c *storageClient) Add(ctx context.Context, in *AddRequest, opts ...grpc.CallOption) (*AddResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AddResponse) - err := c.cc.Invoke(ctx, Storage_Add_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Storage_Add_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -95,8 +100,9 @@ func (c *storageClient) Add(ctx context.Context, in *AddRequest, opts ...grpc.Ca } func (c *storageClient) Remove(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (*RemoveResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(RemoveResponse) - err := c.cc.Invoke(ctx, Storage_Remove_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Storage_Remove_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -104,8 +110,9 @@ func (c *storageClient) Remove(ctx context.Context, in *RemoveRequest, opts ...g } func (c *storageClient) Rate(ctx context.Context, in *RateRequest, opts ...grpc.CallOption) (*RateResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(RateResponse) - err := c.cc.Invoke(ctx, Storage_Rate_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Storage_Rate_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -113,8 +120,9 @@ func (c *storageClient) Rate(ctx context.Context, in *RateRequest, opts ...grpc. } func (c *storageClient) MultiAdd(ctx context.Context, in *MultiAddRequest, opts ...grpc.CallOption) (*MultiAddResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(MultiAddResponse) - err := c.cc.Invoke(ctx, Storage_MultiAdd_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Storage_MultiAdd_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -122,8 +130,9 @@ func (c *storageClient) MultiAdd(ctx context.Context, in *MultiAddRequest, opts } func (c *storageClient) MultiUpdate(ctx context.Context, in *MultiUpdateRequest, opts ...grpc.CallOption) (*MultiUpdateResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(MultiUpdateResponse) - err := c.cc.Invoke(ctx, Storage_MultiUpdate_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Storage_MultiUpdate_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -133,6 +142,8 @@ func (c *storageClient) MultiUpdate(ctx context.Context, in *MultiUpdateRequest, // StorageServer is the server API for Storage service. // All implementations must embed UnimplementedStorageServer // for forward compatibility +// +// The storage service makes it possible to view, add or remove wine bottles. type StorageServer interface { // List all stored bottles List(context.Context, *ListRequest) (*StoredBottleCollection, error) diff --git a/cellar/gen/grpc/storage/server/encode_decode.go b/cellar/gen/grpc/storage/server/encode_decode.go index 9bfefcf4..a49386f4 100644 --- a/cellar/gen/grpc/storage/server/encode_decode.go +++ b/cellar/gen/grpc/storage/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // storage gRPC server encoders and decoders // diff --git a/cellar/gen/grpc/storage/server/server.go b/cellar/gen/grpc/storage/server/server.go index 5008466c..a55cb423 100644 --- a/cellar/gen/grpc/storage/server/server.go +++ b/cellar/gen/grpc/storage/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // storage gRPC server // diff --git a/cellar/gen/grpc/storage/server/types.go b/cellar/gen/grpc/storage/server/types.go index 0761bcc0..e6c9d8c7 100644 --- a/cellar/gen/grpc/storage/server/types.go +++ b/cellar/gen/grpc/storage/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // storage gRPC server types // diff --git a/cellar/gen/http/cli/cellar/cli.go b/cellar/gen/http/cli/cellar/cli.go index bcd02cf3..b40fe5fc 100644 --- a/cellar/gen/http/cli/cellar/cli.go +++ b/cellar/gen/http/cli/cellar/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // cellar HTTP client CLI support package // @@ -195,7 +195,6 @@ func ParseEndpoint( switch epn { case "list": endpoint = c.List() - data = nil case "show": endpoint = c.Show() data, err = storagec.BuildShowPayload(*storageShowIDFlag, *storageShowViewFlag) @@ -212,7 +211,7 @@ func ParseEndpoint( err = json.Unmarshal([]byte(*storageRatePFlag), &val) data = val if err != nil { - return nil, nil, fmt.Errorf("invalid JSON for storageRatePFlag, \nerror: %s, \nexample of valid JSON:\n%s", err, "'{\n \"\\u003cuint32 Value\\u003e\": [\n \"Laboriosam consequatur delectus doloribus.\",\n \"Est mollitia.\",\n \"Voluptas ex enim.\",\n \"Est explicabo eveniet dolore.\"\n ]\n }'") + return nil, nil, fmt.Errorf("invalid JSON for storageRatePFlag, \nerror: %s, \nexample of valid JSON:\n%s", err, "'{\n \"\\u003cuint32 Value\\u003e\": [\n \"Magnam ut consequatur.\",\n \"Quo rerum et ut omnis praesentium non.\"\n ]\n }'") } case "multi-add": endpoint = c.MultiAdd(storageMultiAddEncoderFn) @@ -364,10 +363,8 @@ Rate bottles by IDs Example: %[1]s storage rate --p '{ "\u003cuint32 Value\u003e": [ - "Laboriosam consequatur delectus doloribus.", - "Est mollitia.", - "Voluptas ex enim.", - "Est explicabo eveniet dolore." + "Magnam ut consequatur.", + "Quo rerum et ut omnis praesentium non." ] }' `, os.Args[0]) diff --git a/cellar/gen/http/sommelier/client/cli.go b/cellar/gen/http/sommelier/client/cli.go index b9d6bb6b..a92e94e2 100644 --- a/cellar/gen/http/sommelier/client/cli.go +++ b/cellar/gen/http/sommelier/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // sommelier HTTP client CLI support package // diff --git a/cellar/gen/http/sommelier/client/client.go b/cellar/gen/http/sommelier/client/client.go index 42dcb9ea..5d0a45da 100644 --- a/cellar/gen/http/sommelier/client/client.go +++ b/cellar/gen/http/sommelier/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // sommelier client HTTP transport // diff --git a/cellar/gen/http/sommelier/client/encode_decode.go b/cellar/gen/http/sommelier/client/encode_decode.go index 82980a37..0ca2a624 100644 --- a/cellar/gen/http/sommelier/client/encode_decode.go +++ b/cellar/gen/http/sommelier/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // sommelier HTTP client encoders and decoders // diff --git a/cellar/gen/http/sommelier/client/paths.go b/cellar/gen/http/sommelier/client/paths.go index 6ebe3859..e2a5f205 100644 --- a/cellar/gen/http/sommelier/client/paths.go +++ b/cellar/gen/http/sommelier/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the sommelier service. // diff --git a/cellar/gen/http/sommelier/client/types.go b/cellar/gen/http/sommelier/client/types.go index 5b7ee18e..48b9cbe0 100644 --- a/cellar/gen/http/sommelier/client/types.go +++ b/cellar/gen/http/sommelier/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // sommelier HTTP client types // diff --git a/cellar/gen/http/sommelier/server/encode_decode.go b/cellar/gen/http/sommelier/server/encode_decode.go index 2d254e7c..269b0d16 100644 --- a/cellar/gen/http/sommelier/server/encode_decode.go +++ b/cellar/gen/http/sommelier/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // sommelier HTTP server encoders and decoders // diff --git a/cellar/gen/http/sommelier/server/paths.go b/cellar/gen/http/sommelier/server/paths.go index 01d1e6e3..af20b9b2 100644 --- a/cellar/gen/http/sommelier/server/paths.go +++ b/cellar/gen/http/sommelier/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the sommelier service. // diff --git a/cellar/gen/http/sommelier/server/server.go b/cellar/gen/http/sommelier/server/server.go index 516c728d..e0a0c859 100644 --- a/cellar/gen/http/sommelier/server/server.go +++ b/cellar/gen/http/sommelier/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // sommelier HTTP server // diff --git a/cellar/gen/http/sommelier/server/types.go b/cellar/gen/http/sommelier/server/types.go index 26e9d828..cda52483 100644 --- a/cellar/gen/http/sommelier/server/types.go +++ b/cellar/gen/http/sommelier/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // sommelier HTTP server types // diff --git a/cellar/gen/http/storage/client/cli.go b/cellar/gen/http/storage/client/cli.go index cd4b85d0..fc79f417 100644 --- a/cellar/gen/http/storage/client/cli.go +++ b/cellar/gen/http/storage/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // storage HTTP client CLI support package // diff --git a/cellar/gen/http/storage/client/client.go b/cellar/gen/http/storage/client/client.go index bd03637b..a94e7c54 100644 --- a/cellar/gen/http/storage/client/client.go +++ b/cellar/gen/http/storage/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // storage client HTTP transport // diff --git a/cellar/gen/http/storage/client/encode_decode.go b/cellar/gen/http/storage/client/encode_decode.go index 39bf371c..a8e88ecc 100644 --- a/cellar/gen/http/storage/client/encode_decode.go +++ b/cellar/gen/http/storage/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // storage HTTP client encoders and decoders // diff --git a/cellar/gen/http/storage/client/paths.go b/cellar/gen/http/storage/client/paths.go index 501dcef9..4587f6f6 100644 --- a/cellar/gen/http/storage/client/paths.go +++ b/cellar/gen/http/storage/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the storage service. // diff --git a/cellar/gen/http/storage/client/types.go b/cellar/gen/http/storage/client/types.go index 03e153f9..b8b5c2b9 100644 --- a/cellar/gen/http/storage/client/types.go +++ b/cellar/gen/http/storage/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // storage HTTP client types // diff --git a/cellar/gen/http/storage/server/encode_decode.go b/cellar/gen/http/storage/server/encode_decode.go index 8a08a435..b45e5c9f 100644 --- a/cellar/gen/http/storage/server/encode_decode.go +++ b/cellar/gen/http/storage/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // storage HTTP server encoders and decoders // diff --git a/cellar/gen/http/storage/server/paths.go b/cellar/gen/http/storage/server/paths.go index 2bbafed5..74db1c41 100644 --- a/cellar/gen/http/storage/server/paths.go +++ b/cellar/gen/http/storage/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the storage service. // diff --git a/cellar/gen/http/storage/server/server.go b/cellar/gen/http/storage/server/server.go index e733c100..bb3e76d2 100644 --- a/cellar/gen/http/storage/server/server.go +++ b/cellar/gen/http/storage/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // storage HTTP server // diff --git a/cellar/gen/http/storage/server/types.go b/cellar/gen/http/storage/server/types.go index 1bce0416..c32d3fe4 100644 --- a/cellar/gen/http/storage/server/types.go +++ b/cellar/gen/http/storage/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // storage HTTP server types // diff --git a/cellar/gen/http/swagger/client/client.go b/cellar/gen/http/swagger/client/client.go index a470647a..786766bd 100644 --- a/cellar/gen/http/swagger/client/client.go +++ b/cellar/gen/http/swagger/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // swagger client HTTP transport // diff --git a/cellar/gen/http/swagger/client/encode_decode.go b/cellar/gen/http/swagger/client/encode_decode.go index ac4f501a..ead0af16 100644 --- a/cellar/gen/http/swagger/client/encode_decode.go +++ b/cellar/gen/http/swagger/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // swagger HTTP client encoders and decoders // diff --git a/cellar/gen/http/swagger/client/paths.go b/cellar/gen/http/swagger/client/paths.go index 070fd675..8bfaeb97 100644 --- a/cellar/gen/http/swagger/client/paths.go +++ b/cellar/gen/http/swagger/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the swagger service. // diff --git a/cellar/gen/http/swagger/client/types.go b/cellar/gen/http/swagger/client/types.go index 49f254f6..d22f0764 100644 --- a/cellar/gen/http/swagger/client/types.go +++ b/cellar/gen/http/swagger/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // swagger HTTP client types // diff --git a/cellar/gen/http/swagger/server/paths.go b/cellar/gen/http/swagger/server/paths.go index 3d652911..fccfef77 100644 --- a/cellar/gen/http/swagger/server/paths.go +++ b/cellar/gen/http/swagger/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the swagger service. // diff --git a/cellar/gen/http/swagger/server/server.go b/cellar/gen/http/swagger/server/server.go index b9407f94..3665fbbf 100644 --- a/cellar/gen/http/swagger/server/server.go +++ b/cellar/gen/http/swagger/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // swagger HTTP server // diff --git a/cellar/gen/http/swagger/server/types.go b/cellar/gen/http/swagger/server/types.go index d4a36143..a84e110a 100644 --- a/cellar/gen/http/swagger/server/types.go +++ b/cellar/gen/http/swagger/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // swagger HTTP server types // diff --git a/cellar/gen/sommelier/client.go b/cellar/gen/sommelier/client.go index a9e97200..9aebdd9e 100644 --- a/cellar/gen/sommelier/client.go +++ b/cellar/gen/sommelier/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // sommelier client // diff --git a/cellar/gen/sommelier/endpoints.go b/cellar/gen/sommelier/endpoints.go index 84a5defd..16eeb3b1 100644 --- a/cellar/gen/sommelier/endpoints.go +++ b/cellar/gen/sommelier/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // sommelier endpoints // diff --git a/cellar/gen/sommelier/service.go b/cellar/gen/sommelier/service.go index 02dd587b..8bc9c785 100644 --- a/cellar/gen/sommelier/service.go +++ b/cellar/gen/sommelier/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // sommelier service // diff --git a/cellar/gen/sommelier/views/view.go b/cellar/gen/sommelier/views/view.go index 713ebf57..8fcd0538 100644 --- a/cellar/gen/sommelier/views/view.go +++ b/cellar/gen/sommelier/views/view.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // sommelier views // diff --git a/cellar/gen/storage/client.go b/cellar/gen/storage/client.go index edbecdac..56a8f7ba 100644 --- a/cellar/gen/storage/client.go +++ b/cellar/gen/storage/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // storage client // diff --git a/cellar/gen/storage/endpoints.go b/cellar/gen/storage/endpoints.go index 20e32bf1..f68a06c9 100644 --- a/cellar/gen/storage/endpoints.go +++ b/cellar/gen/storage/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // storage endpoints // diff --git a/cellar/gen/storage/service.go b/cellar/gen/storage/service.go index cb8c0056..6d180b54 100644 --- a/cellar/gen/storage/service.go +++ b/cellar/gen/storage/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // storage service // diff --git a/cellar/gen/storage/views/view.go b/cellar/gen/storage/views/view.go index 57d8f9b9..298623c7 100644 --- a/cellar/gen/storage/views/view.go +++ b/cellar/gen/storage/views/view.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // storage views // diff --git a/cellar/gen/swagger/client.go b/cellar/gen/swagger/client.go index dcca9d0f..b7ce78f0 100644 --- a/cellar/gen/swagger/client.go +++ b/cellar/gen/swagger/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // swagger client // diff --git a/cellar/gen/swagger/endpoints.go b/cellar/gen/swagger/endpoints.go index f657a7af..e8d9593b 100644 --- a/cellar/gen/swagger/endpoints.go +++ b/cellar/gen/swagger/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // swagger endpoints // diff --git a/cellar/gen/swagger/service.go b/cellar/gen/swagger/service.go index 9ad08794..8ade050f 100644 --- a/cellar/gen/swagger/service.go +++ b/cellar/gen/swagger/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // swagger service // diff --git a/cellar/go.mod b/cellar/go.mod index ccc396c2..f629c691 100644 --- a/cellar/go.mod +++ b/cellar/go.mod @@ -4,24 +4,24 @@ go 1.21.1 require ( github.com/boltdb/bolt v1.3.1 - goa.design/goa/v3 v3.16.2 + goa.design/goa/v3 v3.17.0 google.golang.org/grpc v1.64.0 - google.golang.org/protobuf v1.34.1 + google.golang.org/protobuf v1.34.2 ) require ( github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 // indirect - github.com/go-chi/chi/v5 v5.0.12 // indirect + github.com/go-chi/chi/v5 v5.1.0 // indirect github.com/google/uuid v1.6.0 // indirect - github.com/gorilla/websocket v1.5.1 // indirect + github.com/gorilla/websocket v1.5.3 // indirect github.com/manveru/faker v0.0.0-20171103152722-9fbc68a78c4d // indirect github.com/sergi/go-diff v1.3.1 // indirect - golang.org/x/mod v0.17.0 // indirect - golang.org/x/net v0.25.0 // indirect + golang.org/x/mod v0.18.0 // indirect + golang.org/x/net v0.26.0 // indirect golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.20.0 // indirect - golang.org/x/text v0.15.0 // indirect - golang.org/x/tools v0.21.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 // indirect + golang.org/x/sys v0.21.0 // indirect + golang.org/x/text v0.16.0 // indirect + golang.org/x/tools v0.22.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/cellar/go.sum b/cellar/go.sum index e9842b1c..c14ad3f6 100644 --- a/cellar/go.sum +++ b/cellar/go.sum @@ -5,14 +5,14 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 h1:MGKhKyiYrvMDZsmLR/+RGffQSXwEkXgfLSA08qDn9AI= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598/go.mod h1:0FpDmbrt36utu8jEmeU05dPC9AB5tsLYVVi+ZHfyuwI= -github.com/go-chi/chi/v5 v5.0.12 h1:9euLV5sTrTNTRUU9POmDUvfxyj6LAABLUcEWO+JJb4s= -github.com/go-chi/chi/v5 v5.0.12/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= +github.com/go-chi/chi/v5 v5.1.0 h1:acVI1TYaD+hhedDJ3r54HyA6sExp3HfXq7QWEEY/xMw= +github.com/go-chi/chi/v5 v5.1.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= -github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= +github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg= +github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= @@ -30,26 +30,26 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -goa.design/goa/v3 v3.16.2 h1:EwsYmtyhx4bmKjQ/+150nF26DIB5NjgYZyJq6Cg2jxA= -goa.design/goa/v3 v3.16.2/go.mod h1:YAY4TIUGlQH0Rj9AWtAyPktH3WLGWRaGxi3P19RvGXU= -golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= -golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= +goa.design/goa/v3 v3.17.0 h1:J+JUCLRh1rZXXYHtc3/ZrxqLAk3uVMwfWIKIRx+cIOU= +goa.design/goa/v3 v3.17.0/go.mod h1:MXpGAWGsIn2BVTRzB6Q3n1GzxgeVKXshZrh5+1eUz6Q= +golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0= +golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ= +golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= -golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/tools v0.21.0 h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw= -golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 h1:AgADTJarZTBqgjiUzRgfaBchgYB3/WFTC80GPwsMcRI= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0= +golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= +golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= +golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= +golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA= +golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 h1:BwIjyKYGsK9dMCBOorzRri8MQwmi7mT9rGHsCEinZkA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094/go.mod h1:Ue6ibwXGpU+dqIcODieyLOcgj7z8+IcskoNIgZxtrFY= google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY= google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg= -google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg= -google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= +google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/cookies/gen/http/cli/session/cli.go b/cookies/gen/http/cli/session/cli.go index 376686a0..41cf2807 100644 --- a/cookies/gen/http/cli/session/cli.go +++ b/cookies/gen/http/cli/session/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // session HTTP client CLI support package // diff --git a/cookies/gen/http/session/client/cli.go b/cookies/gen/http/session/client/cli.go index 0c76eee2..1760f10d 100644 --- a/cookies/gen/http/session/client/cli.go +++ b/cookies/gen/http/session/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // session HTTP client CLI support package // diff --git a/cookies/gen/http/session/client/client.go b/cookies/gen/http/session/client/client.go index 4dc92f83..da01911b 100644 --- a/cookies/gen/http/session/client/client.go +++ b/cookies/gen/http/session/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // session client HTTP transport // diff --git a/cookies/gen/http/session/client/encode_decode.go b/cookies/gen/http/session/client/encode_decode.go index 605e03c9..0813d7b2 100644 --- a/cookies/gen/http/session/client/encode_decode.go +++ b/cookies/gen/http/session/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // session HTTP client encoders and decoders // diff --git a/cookies/gen/http/session/client/paths.go b/cookies/gen/http/session/client/paths.go index 955d0bc5..1c9e2f16 100644 --- a/cookies/gen/http/session/client/paths.go +++ b/cookies/gen/http/session/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the session service. // diff --git a/cookies/gen/http/session/client/types.go b/cookies/gen/http/session/client/types.go index fc9f1cef..936b6114 100644 --- a/cookies/gen/http/session/client/types.go +++ b/cookies/gen/http/session/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // session HTTP client types // diff --git a/cookies/gen/http/session/server/encode_decode.go b/cookies/gen/http/session/server/encode_decode.go index 7ebe36f6..02bd1480 100644 --- a/cookies/gen/http/session/server/encode_decode.go +++ b/cookies/gen/http/session/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // session HTTP server encoders and decoders // diff --git a/cookies/gen/http/session/server/paths.go b/cookies/gen/http/session/server/paths.go index 05fd195f..c2725816 100644 --- a/cookies/gen/http/session/server/paths.go +++ b/cookies/gen/http/session/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the session service. // diff --git a/cookies/gen/http/session/server/server.go b/cookies/gen/http/session/server/server.go index ccc1262b..2d552000 100644 --- a/cookies/gen/http/session/server/server.go +++ b/cookies/gen/http/session/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // session HTTP server // diff --git a/cookies/gen/http/session/server/types.go b/cookies/gen/http/session/server/types.go index 24cab96c..2335e1f7 100644 --- a/cookies/gen/http/session/server/types.go +++ b/cookies/gen/http/session/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // session HTTP server types // diff --git a/cookies/gen/session/client.go b/cookies/gen/session/client.go index a7f696a8..41f02b4c 100644 --- a/cookies/gen/session/client.go +++ b/cookies/gen/session/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // session client // diff --git a/cookies/gen/session/endpoints.go b/cookies/gen/session/endpoints.go index fd026546..865fe483 100644 --- a/cookies/gen/session/endpoints.go +++ b/cookies/gen/session/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // session endpoints // diff --git a/cookies/gen/session/service.go b/cookies/gen/session/service.go index c976d5c3..afd36972 100644 --- a/cookies/gen/session/service.go +++ b/cookies/gen/session/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // session service // diff --git a/cookies/go.mod b/cookies/go.mod index 970fa167..e36e42c2 100644 --- a/cookies/go.mod +++ b/cookies/go.mod @@ -4,20 +4,19 @@ go 1.21.1 require ( github.com/rs/xid v1.5.0 - goa.design/goa/v3 v3.16.2 + goa.design/goa/v3 v3.17.0 ) require ( github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 // indirect - github.com/go-chi/chi/v5 v5.0.12 // indirect + github.com/go-chi/chi/v5 v5.1.0 // indirect github.com/google/uuid v1.6.0 // indirect - github.com/gorilla/websocket v1.5.1 // indirect + github.com/gorilla/websocket v1.5.3 // indirect github.com/manveru/faker v0.0.0-20171103152722-9fbc68a78c4d // indirect github.com/sergi/go-diff v1.3.1 // indirect - golang.org/x/mod v0.17.0 // indirect - golang.org/x/net v0.25.0 // indirect + golang.org/x/mod v0.18.0 // indirect golang.org/x/sync v0.7.0 // indirect - golang.org/x/text v0.15.0 // indirect - golang.org/x/tools v0.21.0 // indirect + golang.org/x/text v0.16.0 // indirect + golang.org/x/tools v0.22.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/cookies/go.sum b/cookies/go.sum index 5345e359..10dd952d 100644 --- a/cookies/go.sum +++ b/cookies/go.sum @@ -3,12 +3,12 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 h1:MGKhKyiYrvMDZsmLR/+RGffQSXwEkXgfLSA08qDn9AI= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598/go.mod h1:0FpDmbrt36utu8jEmeU05dPC9AB5tsLYVVi+ZHfyuwI= -github.com/go-chi/chi/v5 v5.0.12 h1:9euLV5sTrTNTRUU9POmDUvfxyj6LAABLUcEWO+JJb4s= -github.com/go-chi/chi/v5 v5.0.12/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= +github.com/go-chi/chi/v5 v5.1.0 h1:acVI1TYaD+hhedDJ3r54HyA6sExp3HfXq7QWEEY/xMw= +github.com/go-chi/chi/v5 v5.1.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= -github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= +github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg= +github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= @@ -28,18 +28,16 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -goa.design/goa/v3 v3.16.2 h1:EwsYmtyhx4bmKjQ/+150nF26DIB5NjgYZyJq6Cg2jxA= -goa.design/goa/v3 v3.16.2/go.mod h1:YAY4TIUGlQH0Rj9AWtAyPktH3WLGWRaGxi3P19RvGXU= -golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= -golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= +goa.design/goa/v3 v3.17.0 h1:J+JUCLRh1rZXXYHtc3/ZrxqLAk3uVMwfWIKIRx+cIOU= +goa.design/goa/v3 v3.17.0/go.mod h1:MXpGAWGsIn2BVTRzB6Q3n1GzxgeVKXshZrh5+1eUz6Q= +golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0= +golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/tools v0.21.0 h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw= -golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= +golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= +golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= +golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA= +golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/encodings/cbor/gen/concat/client.go b/encodings/cbor/gen/concat/client.go index c0f8fe88..b7dc9f3b 100644 --- a/encodings/cbor/gen/concat/client.go +++ b/encodings/cbor/gen/concat/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // concat client // diff --git a/encodings/cbor/gen/concat/endpoints.go b/encodings/cbor/gen/concat/endpoints.go index 0f72f3ae..286885ed 100644 --- a/encodings/cbor/gen/concat/endpoints.go +++ b/encodings/cbor/gen/concat/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // concat endpoints // diff --git a/encodings/cbor/gen/concat/service.go b/encodings/cbor/gen/concat/service.go index f73fa0e7..a24c2a17 100644 --- a/encodings/cbor/gen/concat/service.go +++ b/encodings/cbor/gen/concat/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // concat service // diff --git a/encodings/cbor/gen/http/cli/concat/cli.go b/encodings/cbor/gen/http/cli/concat/cli.go index fa915f70..d0751826 100644 --- a/encodings/cbor/gen/http/cli/concat/cli.go +++ b/encodings/cbor/gen/http/cli/concat/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // concat HTTP client CLI support package // diff --git a/encodings/cbor/gen/http/concat/client/cli.go b/encodings/cbor/gen/http/concat/client/cli.go index 8c89ab9a..d6f4d369 100644 --- a/encodings/cbor/gen/http/concat/client/cli.go +++ b/encodings/cbor/gen/http/concat/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // concat HTTP client CLI support package // diff --git a/encodings/cbor/gen/http/concat/client/client.go b/encodings/cbor/gen/http/concat/client/client.go index b8751396..1c472108 100644 --- a/encodings/cbor/gen/http/concat/client/client.go +++ b/encodings/cbor/gen/http/concat/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // concat client HTTP transport // diff --git a/encodings/cbor/gen/http/concat/client/encode_decode.go b/encodings/cbor/gen/http/concat/client/encode_decode.go index 895f414e..ccf6e342 100644 --- a/encodings/cbor/gen/http/concat/client/encode_decode.go +++ b/encodings/cbor/gen/http/concat/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // concat HTTP client encoders and decoders // diff --git a/encodings/cbor/gen/http/concat/client/paths.go b/encodings/cbor/gen/http/concat/client/paths.go index a89b3a3e..f745b2c8 100644 --- a/encodings/cbor/gen/http/concat/client/paths.go +++ b/encodings/cbor/gen/http/concat/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the concat service. // diff --git a/encodings/cbor/gen/http/concat/client/types.go b/encodings/cbor/gen/http/concat/client/types.go index 070616a4..d4de013a 100644 --- a/encodings/cbor/gen/http/concat/client/types.go +++ b/encodings/cbor/gen/http/concat/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // concat HTTP client types // diff --git a/encodings/cbor/gen/http/concat/server/encode_decode.go b/encodings/cbor/gen/http/concat/server/encode_decode.go index 93cb50e0..16a5662b 100644 --- a/encodings/cbor/gen/http/concat/server/encode_decode.go +++ b/encodings/cbor/gen/http/concat/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // concat HTTP server encoders and decoders // diff --git a/encodings/cbor/gen/http/concat/server/paths.go b/encodings/cbor/gen/http/concat/server/paths.go index 93aa2930..6bd7fe60 100644 --- a/encodings/cbor/gen/http/concat/server/paths.go +++ b/encodings/cbor/gen/http/concat/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the concat service. // diff --git a/encodings/cbor/gen/http/concat/server/server.go b/encodings/cbor/gen/http/concat/server/server.go index c3d8eb90..9c21e937 100644 --- a/encodings/cbor/gen/http/concat/server/server.go +++ b/encodings/cbor/gen/http/concat/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // concat HTTP server // diff --git a/encodings/cbor/gen/http/concat/server/types.go b/encodings/cbor/gen/http/concat/server/types.go index f3f994d5..3af85693 100644 --- a/encodings/cbor/gen/http/concat/server/types.go +++ b/encodings/cbor/gen/http/concat/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // concat HTTP server types // diff --git a/encodings/cbor/go.mod b/encodings/cbor/go.mod index 66585710..22f4c6de 100644 --- a/encodings/cbor/go.mod +++ b/encodings/cbor/go.mod @@ -4,21 +4,20 @@ go 1.21.1 require ( github.com/fxamacker/cbor/v2 v2.5.0 - goa.design/goa/v3 v3.16.2 + goa.design/goa/v3 v3.17.0 ) require ( github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 // indirect - github.com/go-chi/chi/v5 v5.0.12 // indirect + github.com/go-chi/chi/v5 v5.1.0 // indirect github.com/google/uuid v1.6.0 // indirect - github.com/gorilla/websocket v1.5.1 // indirect + github.com/gorilla/websocket v1.5.3 // indirect github.com/manveru/faker v0.0.0-20171103152722-9fbc68a78c4d // indirect github.com/sergi/go-diff v1.3.1 // indirect github.com/x448/float16 v0.8.4 // indirect - golang.org/x/mod v0.17.0 // indirect - golang.org/x/net v0.25.0 // indirect + golang.org/x/mod v0.18.0 // indirect golang.org/x/sync v0.7.0 // indirect - golang.org/x/text v0.15.0 // indirect - golang.org/x/tools v0.21.0 // indirect + golang.org/x/text v0.16.0 // indirect + golang.org/x/tools v0.22.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/encodings/cbor/go.sum b/encodings/cbor/go.sum index 72eacf68..342737df 100644 --- a/encodings/cbor/go.sum +++ b/encodings/cbor/go.sum @@ -5,12 +5,12 @@ github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 h1:MGKhKyiYrvMDZs github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598/go.mod h1:0FpDmbrt36utu8jEmeU05dPC9AB5tsLYVVi+ZHfyuwI= github.com/fxamacker/cbor/v2 v2.5.0 h1:oHsG0V/Q6E/wqTS2O1Cozzsy69nqCiguo5Q1a1ADivE= github.com/fxamacker/cbor/v2 v2.5.0/go.mod h1:TA1xS00nchWmaBnEIxPSE5oHLuJBAVvqrtAnWBwBCVo= -github.com/go-chi/chi/v5 v5.0.12 h1:9euLV5sTrTNTRUU9POmDUvfxyj6LAABLUcEWO+JJb4s= -github.com/go-chi/chi/v5 v5.0.12/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= +github.com/go-chi/chi/v5 v5.1.0 h1:acVI1TYaD+hhedDJ3r54HyA6sExp3HfXq7QWEEY/xMw= +github.com/go-chi/chi/v5 v5.1.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= -github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= +github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg= +github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= @@ -30,18 +30,16 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM= github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg= -goa.design/goa/v3 v3.16.2 h1:EwsYmtyhx4bmKjQ/+150nF26DIB5NjgYZyJq6Cg2jxA= -goa.design/goa/v3 v3.16.2/go.mod h1:YAY4TIUGlQH0Rj9AWtAyPktH3WLGWRaGxi3P19RvGXU= -golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= -golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= +goa.design/goa/v3 v3.17.0 h1:J+JUCLRh1rZXXYHtc3/ZrxqLAk3uVMwfWIKIRx+cIOU= +goa.design/goa/v3 v3.17.0/go.mod h1:MXpGAWGsIn2BVTRzB6Q3n1GzxgeVKXshZrh5+1eUz6Q= +golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0= +golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/tools v0.21.0 h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw= -golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= +golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= +golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= +golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA= +golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/encodings/text/gen/http/cli/text/cli.go b/encodings/text/gen/http/cli/text/cli.go index f82058db..3bd7f85e 100644 --- a/encodings/text/gen/http/cli/text/cli.go +++ b/encodings/text/gen/http/cli/text/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // text HTTP client CLI support package // diff --git a/encodings/text/gen/http/text/client/cli.go b/encodings/text/gen/http/text/client/cli.go index b1cd90c7..5c48d68c 100644 --- a/encodings/text/gen/http/text/client/cli.go +++ b/encodings/text/gen/http/text/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // text HTTP client CLI support package // diff --git a/encodings/text/gen/http/text/client/client.go b/encodings/text/gen/http/text/client/client.go index 14218ba3..81d1532e 100644 --- a/encodings/text/gen/http/text/client/client.go +++ b/encodings/text/gen/http/text/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // text client HTTP transport // diff --git a/encodings/text/gen/http/text/client/encode_decode.go b/encodings/text/gen/http/text/client/encode_decode.go index 7a76c4a5..69fcd736 100644 --- a/encodings/text/gen/http/text/client/encode_decode.go +++ b/encodings/text/gen/http/text/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // text HTTP client encoders and decoders // diff --git a/encodings/text/gen/http/text/client/paths.go b/encodings/text/gen/http/text/client/paths.go index f1dbb469..966c7cb9 100644 --- a/encodings/text/gen/http/text/client/paths.go +++ b/encodings/text/gen/http/text/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the text service. // diff --git a/encodings/text/gen/http/text/client/types.go b/encodings/text/gen/http/text/client/types.go index fde85062..70ef3eaa 100644 --- a/encodings/text/gen/http/text/client/types.go +++ b/encodings/text/gen/http/text/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // text HTTP client types // diff --git a/encodings/text/gen/http/text/server/encode_decode.go b/encodings/text/gen/http/text/server/encode_decode.go index e1f74bdb..d6431659 100644 --- a/encodings/text/gen/http/text/server/encode_decode.go +++ b/encodings/text/gen/http/text/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // text HTTP server encoders and decoders // diff --git a/encodings/text/gen/http/text/server/paths.go b/encodings/text/gen/http/text/server/paths.go index f39452c5..b12973c3 100644 --- a/encodings/text/gen/http/text/server/paths.go +++ b/encodings/text/gen/http/text/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the text service. // diff --git a/encodings/text/gen/http/text/server/server.go b/encodings/text/gen/http/text/server/server.go index a2a6f9ae..77b1133c 100644 --- a/encodings/text/gen/http/text/server/server.go +++ b/encodings/text/gen/http/text/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // text HTTP server // diff --git a/encodings/text/gen/http/text/server/types.go b/encodings/text/gen/http/text/server/types.go index 44681008..e00e92b5 100644 --- a/encodings/text/gen/http/text/server/types.go +++ b/encodings/text/gen/http/text/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // text HTTP server types // diff --git a/encodings/text/gen/text/client.go b/encodings/text/gen/text/client.go index a692cdc4..4041cb11 100644 --- a/encodings/text/gen/text/client.go +++ b/encodings/text/gen/text/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // text client // diff --git a/encodings/text/gen/text/endpoints.go b/encodings/text/gen/text/endpoints.go index bbd1e325..b09b7fe0 100644 --- a/encodings/text/gen/text/endpoints.go +++ b/encodings/text/gen/text/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // text endpoints // diff --git a/encodings/text/gen/text/service.go b/encodings/text/gen/text/service.go index fc7b82a1..def3b35e 100644 --- a/encodings/text/gen/text/service.go +++ b/encodings/text/gen/text/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // text service // diff --git a/encodings/text/go.mod b/encodings/text/go.mod index 3a7d8c5c..a811366f 100644 --- a/encodings/text/go.mod +++ b/encodings/text/go.mod @@ -2,19 +2,18 @@ module goa.design/examples/encodings/text go 1.21.1 -require goa.design/goa/v3 v3.16.2 +require goa.design/goa/v3 v3.17.0 require ( github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 // indirect - github.com/go-chi/chi/v5 v5.0.12 // indirect + github.com/go-chi/chi/v5 v5.1.0 // indirect github.com/google/uuid v1.6.0 // indirect - github.com/gorilla/websocket v1.5.1 // indirect + github.com/gorilla/websocket v1.5.3 // indirect github.com/manveru/faker v0.0.0-20171103152722-9fbc68a78c4d // indirect github.com/sergi/go-diff v1.3.1 // indirect - golang.org/x/mod v0.17.0 // indirect - golang.org/x/net v0.25.0 // indirect + golang.org/x/mod v0.18.0 // indirect golang.org/x/sync v0.7.0 // indirect - golang.org/x/text v0.15.0 // indirect - golang.org/x/tools v0.21.0 // indirect + golang.org/x/text v0.16.0 // indirect + golang.org/x/tools v0.22.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/encodings/text/go.sum b/encodings/text/go.sum index 3fb8b89f..dd2b4cb6 100644 --- a/encodings/text/go.sum +++ b/encodings/text/go.sum @@ -3,12 +3,12 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 h1:MGKhKyiYrvMDZsmLR/+RGffQSXwEkXgfLSA08qDn9AI= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598/go.mod h1:0FpDmbrt36utu8jEmeU05dPC9AB5tsLYVVi+ZHfyuwI= -github.com/go-chi/chi/v5 v5.0.12 h1:9euLV5sTrTNTRUU9POmDUvfxyj6LAABLUcEWO+JJb4s= -github.com/go-chi/chi/v5 v5.0.12/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= +github.com/go-chi/chi/v5 v5.1.0 h1:acVI1TYaD+hhedDJ3r54HyA6sExp3HfXq7QWEEY/xMw= +github.com/go-chi/chi/v5 v5.1.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= -github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= +github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg= +github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= @@ -26,18 +26,16 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -goa.design/goa/v3 v3.16.2 h1:EwsYmtyhx4bmKjQ/+150nF26DIB5NjgYZyJq6Cg2jxA= -goa.design/goa/v3 v3.16.2/go.mod h1:YAY4TIUGlQH0Rj9AWtAyPktH3WLGWRaGxi3P19RvGXU= -golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= -golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= +goa.design/goa/v3 v3.17.0 h1:J+JUCLRh1rZXXYHtc3/ZrxqLAk3uVMwfWIKIRx+cIOU= +goa.design/goa/v3 v3.17.0/go.mod h1:MXpGAWGsIn2BVTRzB6Q3n1GzxgeVKXshZrh5+1eUz6Q= +golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0= +golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/tools v0.21.0 h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw= -golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= +golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= +golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= +golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA= +golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/error/gen/calc/client.go b/error/gen/calc/client.go index 28ae0673..56f928a6 100644 --- a/error/gen/calc/client.go +++ b/error/gen/calc/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc client // diff --git a/error/gen/calc/endpoints.go b/error/gen/calc/endpoints.go index 4a15cead..30d27c86 100644 --- a/error/gen/calc/endpoints.go +++ b/error/gen/calc/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc endpoints // diff --git a/error/gen/calc/service.go b/error/gen/calc/service.go index cc288a01..8929e9af 100644 --- a/error/gen/calc/service.go +++ b/error/gen/calc/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc service // diff --git a/error/gen/grpc/calc/client/cli.go b/error/gen/grpc/calc/client/cli.go index dfe34a45..b2d886cd 100644 --- a/error/gen/grpc/calc/client/cli.go +++ b/error/gen/grpc/calc/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc gRPC client CLI support package // diff --git a/error/gen/grpc/calc/client/client.go b/error/gen/grpc/calc/client/client.go index 4f408313..bd656fe1 100644 --- a/error/gen/grpc/calc/client/client.go +++ b/error/gen/grpc/calc/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc gRPC client // @@ -21,17 +21,13 @@ import ( type Client struct { grpccli calcpb.CalcClient opts []grpc.CallOption -} - -// NewClient instantiates gRPC client for all the calc service servers. +} // NewClient instantiates gRPC client for all the calc service servers. func NewClient(cc *grpc.ClientConn, opts ...grpc.CallOption) *Client { return &Client{ grpccli: calcpb.NewCalcClient(cc), opts: opts, } -} - -// Divide calls the "Divide" function in calcpb.CalcClient interface. +} // Divide calls the "Divide" function in calcpb.CalcClient interface. func (c *Client) Divide() goa.Endpoint { return func(ctx context.Context, v any) (any, error) { inv := goagrpc.NewInvoker( diff --git a/error/gen/grpc/calc/client/encode_decode.go b/error/gen/grpc/calc/client/encode_decode.go index f85fce40..99ee59c4 100644 --- a/error/gen/grpc/calc/client/encode_decode.go +++ b/error/gen/grpc/calc/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc gRPC client encoders and decoders // diff --git a/error/gen/grpc/calc/client/types.go b/error/gen/grpc/calc/client/types.go index 320f5b6c..2e9f5cf0 100644 --- a/error/gen/grpc/calc/client/types.go +++ b/error/gen/grpc/calc/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc gRPC client types // diff --git a/error/gen/grpc/calc/pb/goagen_error_calc.pb.go b/error/gen/grpc/calc/pb/goagen_error_calc.pb.go index 3bbe4ca2..94f2ad05 100644 --- a/error/gen/grpc/calc/pb/goagen_error_calc.pb.go +++ b/error/gen/grpc/calc/pb/goagen_error_calc.pb.go @@ -1,4 +1,4 @@ -// Code generated with goa v3.16.2, DO NOT EDIT. +// Code generated with goa v3.17.0, DO NOT EDIT. // // calc protocol buffer definition // @@ -7,8 +7,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v5.26.1 +// protoc-gen-go v1.34.2 +// protoc v5.27.1 // source: goagen_error_calc.proto package calcpb @@ -223,7 +223,7 @@ func file_goagen_error_calc_proto_rawDescGZIP() []byte { } var file_goagen_error_calc_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_goagen_error_calc_proto_goTypes = []interface{}{ +var file_goagen_error_calc_proto_goTypes = []any{ (*DivideDivByZeroError)(nil), // 0: calc.DivideDivByZeroError (*DivideRequest)(nil), // 1: calc.DivideRequest (*DivideResponse)(nil), // 2: calc.DivideResponse @@ -244,7 +244,7 @@ func file_goagen_error_calc_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_goagen_error_calc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_goagen_error_calc_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*DivideDivByZeroError); i { case 0: return &v.state @@ -256,7 +256,7 @@ func file_goagen_error_calc_proto_init() { return nil } } - file_goagen_error_calc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_goagen_error_calc_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*DivideRequest); i { case 0: return &v.state @@ -268,7 +268,7 @@ func file_goagen_error_calc_proto_init() { return nil } } - file_goagen_error_calc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_goagen_error_calc_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*DivideResponse); i { case 0: return &v.state diff --git a/error/gen/grpc/calc/pb/goagen_error_calc.proto b/error/gen/grpc/calc/pb/goagen_error_calc.proto index e5f4153e..44dcde26 100644 --- a/error/gen/grpc/calc/pb/goagen_error_calc.proto +++ b/error/gen/grpc/calc/pb/goagen_error_calc.proto @@ -1,4 +1,4 @@ -// Code generated with goa v3.16.2, DO NOT EDIT. +// Code generated with goa v3.17.0, DO NOT EDIT. // // calc protocol buffer definition // diff --git a/error/gen/grpc/calc/pb/goagen_error_calc_grpc.pb.go b/error/gen/grpc/calc/pb/goagen_error_calc_grpc.pb.go index f69af2e8..f3cdbb29 100644 --- a/error/gen/grpc/calc/pb/goagen_error_calc_grpc.pb.go +++ b/error/gen/grpc/calc/pb/goagen_error_calc_grpc.pb.go @@ -1,4 +1,4 @@ -// Code generated with goa v3.16.2, DO NOT EDIT. +// Code generated with goa v3.17.0, DO NOT EDIT. // // calc protocol buffer definition // @@ -7,8 +7,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v5.26.1 +// - protoc-gen-go-grpc v1.4.0 +// - protoc v5.27.1 // source: goagen_error_calc.proto package calcpb @@ -22,8 +22,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( Calc_Divide_FullMethodName = "/calc.Calc/Divide" @@ -32,6 +32,8 @@ const ( // CalcClient is the client API for Calc service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +// +// Service is the calc service interface. type CalcClient interface { // Divide implements divide. Divide(ctx context.Context, in *DivideRequest, opts ...grpc.CallOption) (*DivideResponse, error) @@ -46,8 +48,9 @@ func NewCalcClient(cc grpc.ClientConnInterface) CalcClient { } func (c *calcClient) Divide(ctx context.Context, in *DivideRequest, opts ...grpc.CallOption) (*DivideResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DivideResponse) - err := c.cc.Invoke(ctx, Calc_Divide_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Calc_Divide_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -57,6 +60,8 @@ func (c *calcClient) Divide(ctx context.Context, in *DivideRequest, opts ...grpc // CalcServer is the server API for Calc service. // All implementations must embed UnimplementedCalcServer // for forward compatibility +// +// Service is the calc service interface. type CalcServer interface { // Divide implements divide. Divide(context.Context, *DivideRequest) (*DivideResponse, error) diff --git a/error/gen/grpc/calc/server/encode_decode.go b/error/gen/grpc/calc/server/encode_decode.go index 3b0f8487..51a771c7 100644 --- a/error/gen/grpc/calc/server/encode_decode.go +++ b/error/gen/grpc/calc/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc gRPC server encoders and decoders // diff --git a/error/gen/grpc/calc/server/server.go b/error/gen/grpc/calc/server/server.go index 00acdbe8..228bbe55 100644 --- a/error/gen/grpc/calc/server/server.go +++ b/error/gen/grpc/calc/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc gRPC server // diff --git a/error/gen/grpc/calc/server/types.go b/error/gen/grpc/calc/server/types.go index 827019f5..09b901dd 100644 --- a/error/gen/grpc/calc/server/types.go +++ b/error/gen/grpc/calc/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc gRPC server types // diff --git a/error/gen/grpc/cli/calc/cli.go b/error/gen/grpc/cli/calc/cli.go index 3de16479..cc5c4291 100644 --- a/error/gen/grpc/cli/calc/cli.go +++ b/error/gen/grpc/cli/calc/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc gRPC client CLI support package // @@ -119,9 +119,7 @@ func ParseEndpoint(cc *grpc.ClientConn, opts ...grpc.CallOption) (goa.Endpoint, } return endpoint, data, nil -} - -// calcUsage displays the usage of the calc command and its subcommands. +} // calcUsage displays the usage of the calc command and its subcommands. func calcUsage() { fmt.Fprintf(os.Stderr, `Service is the calc service interface. Usage: diff --git a/error/gen/http/calc/client/cli.go b/error/gen/http/calc/client/cli.go index 5cd21cdc..cdd54180 100644 --- a/error/gen/http/calc/client/cli.go +++ b/error/gen/http/calc/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc HTTP client CLI support package // diff --git a/error/gen/http/calc/client/client.go b/error/gen/http/calc/client/client.go index d5088ed3..cb7d8fa6 100644 --- a/error/gen/http/calc/client/client.go +++ b/error/gen/http/calc/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc client HTTP transport // diff --git a/error/gen/http/calc/client/encode_decode.go b/error/gen/http/calc/client/encode_decode.go index c4ebc837..fba95df9 100644 --- a/error/gen/http/calc/client/encode_decode.go +++ b/error/gen/http/calc/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc HTTP client encoders and decoders // diff --git a/error/gen/http/calc/client/paths.go b/error/gen/http/calc/client/paths.go index 0662346b..6bcdaf06 100644 --- a/error/gen/http/calc/client/paths.go +++ b/error/gen/http/calc/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the calc service. // diff --git a/error/gen/http/calc/client/types.go b/error/gen/http/calc/client/types.go index 5df6065a..6b42da8d 100644 --- a/error/gen/http/calc/client/types.go +++ b/error/gen/http/calc/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc HTTP client types // diff --git a/error/gen/http/calc/server/encode_decode.go b/error/gen/http/calc/server/encode_decode.go index 53410a2b..e4a226f0 100644 --- a/error/gen/http/calc/server/encode_decode.go +++ b/error/gen/http/calc/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc HTTP server encoders and decoders // diff --git a/error/gen/http/calc/server/paths.go b/error/gen/http/calc/server/paths.go index 2293241f..2c598582 100644 --- a/error/gen/http/calc/server/paths.go +++ b/error/gen/http/calc/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the calc service. // diff --git a/error/gen/http/calc/server/server.go b/error/gen/http/calc/server/server.go index a2eee419..81a3c326 100644 --- a/error/gen/http/calc/server/server.go +++ b/error/gen/http/calc/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc HTTP server // diff --git a/error/gen/http/calc/server/types.go b/error/gen/http/calc/server/types.go index e06f2a4e..714c21a5 100644 --- a/error/gen/http/calc/server/types.go +++ b/error/gen/http/calc/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc HTTP server types // diff --git a/error/gen/http/cli/calc/cli.go b/error/gen/http/cli/calc/cli.go index d98ea541..aed6564b 100644 --- a/error/gen/http/cli/calc/cli.go +++ b/error/gen/http/cli/calc/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // calc HTTP client CLI support package // diff --git a/error/go.mod b/error/go.mod index d647593b..3cd9f953 100644 --- a/error/go.mod +++ b/error/go.mod @@ -3,24 +3,24 @@ module goa.design/examples/error go 1.21.1 require ( - goa.design/goa/v3 v3.16.2 + goa.design/goa/v3 v3.17.0 google.golang.org/grpc v1.64.0 - google.golang.org/protobuf v1.34.1 + google.golang.org/protobuf v1.34.2 ) require ( github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 // indirect - github.com/go-chi/chi/v5 v5.0.12 // indirect + github.com/go-chi/chi/v5 v5.1.0 // indirect github.com/google/uuid v1.6.0 // indirect - github.com/gorilla/websocket v1.5.1 // indirect + github.com/gorilla/websocket v1.5.3 // indirect github.com/manveru/faker v0.0.0-20171103152722-9fbc68a78c4d // indirect github.com/sergi/go-diff v1.3.1 // indirect - golang.org/x/mod v0.17.0 // indirect - golang.org/x/net v0.25.0 // indirect + golang.org/x/mod v0.18.0 // indirect + golang.org/x/net v0.26.0 // indirect golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.20.0 // indirect - golang.org/x/text v0.15.0 // indirect - golang.org/x/tools v0.21.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 // indirect + golang.org/x/sys v0.21.0 // indirect + golang.org/x/text v0.16.0 // indirect + golang.org/x/tools v0.22.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/error/go.sum b/error/go.sum index 3ea4fd35..230256fd 100644 --- a/error/go.sum +++ b/error/go.sum @@ -3,14 +3,14 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 h1:MGKhKyiYrvMDZsmLR/+RGffQSXwEkXgfLSA08qDn9AI= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598/go.mod h1:0FpDmbrt36utu8jEmeU05dPC9AB5tsLYVVi+ZHfyuwI= -github.com/go-chi/chi/v5 v5.0.12 h1:9euLV5sTrTNTRUU9POmDUvfxyj6LAABLUcEWO+JJb4s= -github.com/go-chi/chi/v5 v5.0.12/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= +github.com/go-chi/chi/v5 v5.1.0 h1:acVI1TYaD+hhedDJ3r54HyA6sExp3HfXq7QWEEY/xMw= +github.com/go-chi/chi/v5 v5.1.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= -github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= +github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg= +github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= @@ -28,26 +28,26 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -goa.design/goa/v3 v3.16.2 h1:EwsYmtyhx4bmKjQ/+150nF26DIB5NjgYZyJq6Cg2jxA= -goa.design/goa/v3 v3.16.2/go.mod h1:YAY4TIUGlQH0Rj9AWtAyPktH3WLGWRaGxi3P19RvGXU= -golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= -golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= +goa.design/goa/v3 v3.17.0 h1:J+JUCLRh1rZXXYHtc3/ZrxqLAk3uVMwfWIKIRx+cIOU= +goa.design/goa/v3 v3.17.0/go.mod h1:MXpGAWGsIn2BVTRzB6Q3n1GzxgeVKXshZrh5+1eUz6Q= +golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0= +golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ= +golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= -golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/tools v0.21.0 h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw= -golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 h1:AgADTJarZTBqgjiUzRgfaBchgYB3/WFTC80GPwsMcRI= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0= +golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= +golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= +golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= +golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA= +golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 h1:BwIjyKYGsK9dMCBOorzRri8MQwmi7mT9rGHsCEinZkA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094/go.mod h1:Ue6ibwXGpU+dqIcODieyLOcgj7z8+IcskoNIgZxtrFY= google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY= google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg= -google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg= -google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= +google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/files/gen/http/cli/openapi/cli.go b/files/gen/http/cli/openapi/cli.go index 7e682c2a..5081dea3 100644 --- a/files/gen/http/cli/openapi/cli.go +++ b/files/gen/http/cli/openapi/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // openapi HTTP client CLI support package // diff --git a/files/gen/http/openapi/client/client.go b/files/gen/http/openapi/client/client.go index 346a9eed..d715af0d 100644 --- a/files/gen/http/openapi/client/client.go +++ b/files/gen/http/openapi/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // openapi client HTTP transport // diff --git a/files/gen/http/openapi/client/encode_decode.go b/files/gen/http/openapi/client/encode_decode.go index 40fdbe21..7198e425 100644 --- a/files/gen/http/openapi/client/encode_decode.go +++ b/files/gen/http/openapi/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // openapi HTTP client encoders and decoders // diff --git a/files/gen/http/openapi/client/paths.go b/files/gen/http/openapi/client/paths.go index 01e4d6af..d0563d5a 100644 --- a/files/gen/http/openapi/client/paths.go +++ b/files/gen/http/openapi/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the openapi service. // diff --git a/files/gen/http/openapi/client/types.go b/files/gen/http/openapi/client/types.go index 3efa9a03..51d76cf5 100644 --- a/files/gen/http/openapi/client/types.go +++ b/files/gen/http/openapi/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // openapi HTTP client types // diff --git a/files/gen/http/openapi/server/paths.go b/files/gen/http/openapi/server/paths.go index a4321bbb..19524f37 100644 --- a/files/gen/http/openapi/server/paths.go +++ b/files/gen/http/openapi/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the openapi service. // diff --git a/files/gen/http/openapi/server/server.go b/files/gen/http/openapi/server/server.go index f37157c3..3c35a4de 100644 --- a/files/gen/http/openapi/server/server.go +++ b/files/gen/http/openapi/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // openapi HTTP server // diff --git a/files/gen/http/openapi/server/types.go b/files/gen/http/openapi/server/types.go index 93e11f96..d6441da5 100644 --- a/files/gen/http/openapi/server/types.go +++ b/files/gen/http/openapi/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // openapi HTTP server types // diff --git a/files/gen/openapi/client.go b/files/gen/openapi/client.go index 53727960..917ff7a6 100644 --- a/files/gen/openapi/client.go +++ b/files/gen/openapi/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // openapi client // diff --git a/files/gen/openapi/endpoints.go b/files/gen/openapi/endpoints.go index f4d471a9..4884d1b6 100644 --- a/files/gen/openapi/endpoints.go +++ b/files/gen/openapi/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // openapi endpoints // diff --git a/files/gen/openapi/service.go b/files/gen/openapi/service.go index e899e63e..b94a2121 100644 --- a/files/gen/openapi/service.go +++ b/files/gen/openapi/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // openapi service // diff --git a/files/go.mod b/files/go.mod index 2d3bf431..795097b4 100644 --- a/files/go.mod +++ b/files/go.mod @@ -2,19 +2,18 @@ module goa.design/examples/files go 1.21.1 -require goa.design/goa/v3 v3.16.2 +require goa.design/goa/v3 v3.17.0 require ( github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 // indirect - github.com/go-chi/chi/v5 v5.0.12 // indirect + github.com/go-chi/chi/v5 v5.1.0 // indirect github.com/google/uuid v1.6.0 // indirect - github.com/gorilla/websocket v1.5.1 // indirect + github.com/gorilla/websocket v1.5.3 // indirect github.com/manveru/faker v0.0.0-20171103152722-9fbc68a78c4d // indirect github.com/sergi/go-diff v1.3.1 // indirect - golang.org/x/mod v0.17.0 // indirect - golang.org/x/net v0.25.0 // indirect + golang.org/x/mod v0.18.0 // indirect golang.org/x/sync v0.7.0 // indirect - golang.org/x/text v0.15.0 // indirect - golang.org/x/tools v0.21.0 // indirect + golang.org/x/text v0.16.0 // indirect + golang.org/x/tools v0.22.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/files/go.sum b/files/go.sum index 3fb8b89f..dd2b4cb6 100644 --- a/files/go.sum +++ b/files/go.sum @@ -3,12 +3,12 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 h1:MGKhKyiYrvMDZsmLR/+RGffQSXwEkXgfLSA08qDn9AI= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598/go.mod h1:0FpDmbrt36utu8jEmeU05dPC9AB5tsLYVVi+ZHfyuwI= -github.com/go-chi/chi/v5 v5.0.12 h1:9euLV5sTrTNTRUU9POmDUvfxyj6LAABLUcEWO+JJb4s= -github.com/go-chi/chi/v5 v5.0.12/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= +github.com/go-chi/chi/v5 v5.1.0 h1:acVI1TYaD+hhedDJ3r54HyA6sExp3HfXq7QWEEY/xMw= +github.com/go-chi/chi/v5 v5.1.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= -github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= +github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg= +github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= @@ -26,18 +26,16 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -goa.design/goa/v3 v3.16.2 h1:EwsYmtyhx4bmKjQ/+150nF26DIB5NjgYZyJq6Cg2jxA= -goa.design/goa/v3 v3.16.2/go.mod h1:YAY4TIUGlQH0Rj9AWtAyPktH3WLGWRaGxi3P19RvGXU= -golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= -golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= +goa.design/goa/v3 v3.17.0 h1:J+JUCLRh1rZXXYHtc3/ZrxqLAk3uVMwfWIKIRx+cIOU= +goa.design/goa/v3 v3.17.0/go.mod h1:MXpGAWGsIn2BVTRzB6Q3n1GzxgeVKXshZrh5+1eUz6Q= +golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0= +golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/tools v0.21.0 h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw= -golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= +golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= +golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= +golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA= +golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/multipart/gen/http/cli/resume/cli.go b/multipart/gen/http/cli/resume/cli.go index 4901ac0f..08883f09 100644 --- a/multipart/gen/http/cli/resume/cli.go +++ b/multipart/gen/http/cli/resume/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // resume HTTP client CLI support package // @@ -121,7 +121,6 @@ func ParseEndpoint( switch epn { case "list": endpoint = c.List() - data = nil case "add": endpoint = c.Add(resumeAddEncoderFn) data, err = resumec.BuildAddPayload(*resumeAddBodyFlag) diff --git a/multipart/gen/http/resume/client/cli.go b/multipart/gen/http/resume/client/cli.go index ccf2ceec..7693191c 100644 --- a/multipart/gen/http/resume/client/cli.go +++ b/multipart/gen/http/resume/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // resume HTTP client CLI support package // diff --git a/multipart/gen/http/resume/client/client.go b/multipart/gen/http/resume/client/client.go index 57d684bc..41428cc0 100644 --- a/multipart/gen/http/resume/client/client.go +++ b/multipart/gen/http/resume/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // resume client HTTP transport // diff --git a/multipart/gen/http/resume/client/encode_decode.go b/multipart/gen/http/resume/client/encode_decode.go index f767ba6c..63dcbda1 100644 --- a/multipart/gen/http/resume/client/encode_decode.go +++ b/multipart/gen/http/resume/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // resume HTTP client encoders and decoders // diff --git a/multipart/gen/http/resume/client/paths.go b/multipart/gen/http/resume/client/paths.go index ce6850b6..77eb5eaa 100644 --- a/multipart/gen/http/resume/client/paths.go +++ b/multipart/gen/http/resume/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the resume service. // diff --git a/multipart/gen/http/resume/client/types.go b/multipart/gen/http/resume/client/types.go index 17628ba9..95d9a147 100644 --- a/multipart/gen/http/resume/client/types.go +++ b/multipart/gen/http/resume/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // resume HTTP client types // diff --git a/multipart/gen/http/resume/server/encode_decode.go b/multipart/gen/http/resume/server/encode_decode.go index 42fcc3d7..a7fd0693 100644 --- a/multipart/gen/http/resume/server/encode_decode.go +++ b/multipart/gen/http/resume/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // resume HTTP server encoders and decoders // diff --git a/multipart/gen/http/resume/server/paths.go b/multipart/gen/http/resume/server/paths.go index 911b787c..b24fecb4 100644 --- a/multipart/gen/http/resume/server/paths.go +++ b/multipart/gen/http/resume/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the resume service. // diff --git a/multipart/gen/http/resume/server/server.go b/multipart/gen/http/resume/server/server.go index eab41fef..6cbd6bbc 100644 --- a/multipart/gen/http/resume/server/server.go +++ b/multipart/gen/http/resume/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // resume HTTP server // diff --git a/multipart/gen/http/resume/server/types.go b/multipart/gen/http/resume/server/types.go index fdc38093..c3fcf53d 100644 --- a/multipart/gen/http/resume/server/types.go +++ b/multipart/gen/http/resume/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // resume HTTP server types // diff --git a/multipart/gen/resume/client.go b/multipart/gen/resume/client.go index e8028b8d..64094ea8 100644 --- a/multipart/gen/resume/client.go +++ b/multipart/gen/resume/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // resume client // diff --git a/multipart/gen/resume/endpoints.go b/multipart/gen/resume/endpoints.go index 4d75a783..93f92c56 100644 --- a/multipart/gen/resume/endpoints.go +++ b/multipart/gen/resume/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // resume endpoints // diff --git a/multipart/gen/resume/service.go b/multipart/gen/resume/service.go index 99e57774..18f6f6e8 100644 --- a/multipart/gen/resume/service.go +++ b/multipart/gen/resume/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // resume service // diff --git a/multipart/gen/resume/views/view.go b/multipart/gen/resume/views/view.go index 97b887bb..86fd4b76 100644 --- a/multipart/gen/resume/views/view.go +++ b/multipart/gen/resume/views/view.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // resume views // diff --git a/multipart/go.mod b/multipart/go.mod index 95e7332a..409e5457 100644 --- a/multipart/go.mod +++ b/multipart/go.mod @@ -2,19 +2,18 @@ module goa.design/examples/multipart go 1.21.1 -require goa.design/goa/v3 v3.16.2 +require goa.design/goa/v3 v3.17.0 require ( github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 // indirect - github.com/go-chi/chi/v5 v5.0.12 // indirect + github.com/go-chi/chi/v5 v5.1.0 // indirect github.com/google/uuid v1.6.0 // indirect - github.com/gorilla/websocket v1.5.1 // indirect + github.com/gorilla/websocket v1.5.3 // indirect github.com/manveru/faker v0.0.0-20171103152722-9fbc68a78c4d // indirect github.com/sergi/go-diff v1.3.1 // indirect - golang.org/x/mod v0.17.0 // indirect - golang.org/x/net v0.25.0 // indirect + golang.org/x/mod v0.18.0 // indirect golang.org/x/sync v0.7.0 // indirect - golang.org/x/text v0.15.0 // indirect - golang.org/x/tools v0.21.0 // indirect + golang.org/x/text v0.16.0 // indirect + golang.org/x/tools v0.22.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/multipart/go.sum b/multipart/go.sum index 3fb8b89f..dd2b4cb6 100644 --- a/multipart/go.sum +++ b/multipart/go.sum @@ -3,12 +3,12 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 h1:MGKhKyiYrvMDZsmLR/+RGffQSXwEkXgfLSA08qDn9AI= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598/go.mod h1:0FpDmbrt36utu8jEmeU05dPC9AB5tsLYVVi+ZHfyuwI= -github.com/go-chi/chi/v5 v5.0.12 h1:9euLV5sTrTNTRUU9POmDUvfxyj6LAABLUcEWO+JJb4s= -github.com/go-chi/chi/v5 v5.0.12/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= +github.com/go-chi/chi/v5 v5.1.0 h1:acVI1TYaD+hhedDJ3r54HyA6sExp3HfXq7QWEEY/xMw= +github.com/go-chi/chi/v5 v5.1.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= -github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= +github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg= +github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= @@ -26,18 +26,16 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -goa.design/goa/v3 v3.16.2 h1:EwsYmtyhx4bmKjQ/+150nF26DIB5NjgYZyJq6Cg2jxA= -goa.design/goa/v3 v3.16.2/go.mod h1:YAY4TIUGlQH0Rj9AWtAyPktH3WLGWRaGxi3P19RvGXU= -golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= -golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= +goa.design/goa/v3 v3.17.0 h1:J+JUCLRh1rZXXYHtc3/ZrxqLAk3uVMwfWIKIRx+cIOU= +goa.design/goa/v3 v3.17.0/go.mod h1:MXpGAWGsIn2BVTRzB6Q3n1GzxgeVKXshZrh5+1eUz6Q= +golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0= +golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/tools v0.21.0 h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw= -golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= +golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= +golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= +golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA= +golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/security/hierarchy/gen/api_key_service/client.go b/security/hierarchy/gen/api_key_service/client.go index 6a210e1c..0a11e824 100644 --- a/security/hierarchy/gen/api_key_service/client.go +++ b/security/hierarchy/gen/api_key_service/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // api_key_service client // diff --git a/security/hierarchy/gen/api_key_service/endpoints.go b/security/hierarchy/gen/api_key_service/endpoints.go index ce88b6c9..a23e308f 100644 --- a/security/hierarchy/gen/api_key_service/endpoints.go +++ b/security/hierarchy/gen/api_key_service/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // api_key_service endpoints // diff --git a/security/hierarchy/gen/api_key_service/service.go b/security/hierarchy/gen/api_key_service/service.go index e692a965..c9c5c5a2 100644 --- a/security/hierarchy/gen/api_key_service/service.go +++ b/security/hierarchy/gen/api_key_service/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // api_key_service service // diff --git a/security/hierarchy/gen/default_service/client.go b/security/hierarchy/gen/default_service/client.go index 449dd4df..1e0e9f21 100644 --- a/security/hierarchy/gen/default_service/client.go +++ b/security/hierarchy/gen/default_service/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // default_service client // diff --git a/security/hierarchy/gen/default_service/endpoints.go b/security/hierarchy/gen/default_service/endpoints.go index 99099e8c..e6884be6 100644 --- a/security/hierarchy/gen/default_service/endpoints.go +++ b/security/hierarchy/gen/default_service/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // default_service endpoints // diff --git a/security/hierarchy/gen/default_service/service.go b/security/hierarchy/gen/default_service/service.go index 2b9a733a..8e95b3ce 100644 --- a/security/hierarchy/gen/default_service/service.go +++ b/security/hierarchy/gen/default_service/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // default_service service // diff --git a/security/hierarchy/gen/http/api_key_service/client/cli.go b/security/hierarchy/gen/http/api_key_service/client/cli.go index 9c5e8c9b..7d2115a6 100644 --- a/security/hierarchy/gen/http/api_key_service/client/cli.go +++ b/security/hierarchy/gen/http/api_key_service/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // api_key_service HTTP client CLI support package // diff --git a/security/hierarchy/gen/http/api_key_service/client/client.go b/security/hierarchy/gen/http/api_key_service/client/client.go index 1f065d71..c8f00e3b 100644 --- a/security/hierarchy/gen/http/api_key_service/client/client.go +++ b/security/hierarchy/gen/http/api_key_service/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // api_key_service client HTTP transport // diff --git a/security/hierarchy/gen/http/api_key_service/client/encode_decode.go b/security/hierarchy/gen/http/api_key_service/client/encode_decode.go index f2f20bf8..ef5bcdfa 100644 --- a/security/hierarchy/gen/http/api_key_service/client/encode_decode.go +++ b/security/hierarchy/gen/http/api_key_service/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // api_key_service HTTP client encoders and decoders // diff --git a/security/hierarchy/gen/http/api_key_service/client/paths.go b/security/hierarchy/gen/http/api_key_service/client/paths.go index 4b188ec5..9b550501 100644 --- a/security/hierarchy/gen/http/api_key_service/client/paths.go +++ b/security/hierarchy/gen/http/api_key_service/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the api_key_service service. // diff --git a/security/hierarchy/gen/http/api_key_service/client/types.go b/security/hierarchy/gen/http/api_key_service/client/types.go index 5c17eaec..a899b2d0 100644 --- a/security/hierarchy/gen/http/api_key_service/client/types.go +++ b/security/hierarchy/gen/http/api_key_service/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // api_key_service HTTP client types // diff --git a/security/hierarchy/gen/http/api_key_service/server/encode_decode.go b/security/hierarchy/gen/http/api_key_service/server/encode_decode.go index dba0cb44..7562fb3b 100644 --- a/security/hierarchy/gen/http/api_key_service/server/encode_decode.go +++ b/security/hierarchy/gen/http/api_key_service/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // api_key_service HTTP server encoders and decoders // diff --git a/security/hierarchy/gen/http/api_key_service/server/paths.go b/security/hierarchy/gen/http/api_key_service/server/paths.go index 49a76c2f..d12ecdf2 100644 --- a/security/hierarchy/gen/http/api_key_service/server/paths.go +++ b/security/hierarchy/gen/http/api_key_service/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the api_key_service service. // diff --git a/security/hierarchy/gen/http/api_key_service/server/server.go b/security/hierarchy/gen/http/api_key_service/server/server.go index d956f4fc..c1bc38bd 100644 --- a/security/hierarchy/gen/http/api_key_service/server/server.go +++ b/security/hierarchy/gen/http/api_key_service/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // api_key_service HTTP server // diff --git a/security/hierarchy/gen/http/api_key_service/server/types.go b/security/hierarchy/gen/http/api_key_service/server/types.go index 7b4d86c4..b88b7bbb 100644 --- a/security/hierarchy/gen/http/api_key_service/server/types.go +++ b/security/hierarchy/gen/http/api_key_service/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // api_key_service HTTP server types // diff --git a/security/hierarchy/gen/http/cli/hierarchy/cli.go b/security/hierarchy/gen/http/cli/hierarchy/cli.go index 45aa4d49..ad748151 100644 --- a/security/hierarchy/gen/http/cli/hierarchy/cli.go +++ b/security/hierarchy/gen/http/cli/hierarchy/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // hierarchy HTTP client CLI support package // diff --git a/security/hierarchy/gen/http/default_service/client/cli.go b/security/hierarchy/gen/http/default_service/client/cli.go index 1a0a9aab..b4dfbe3b 100644 --- a/security/hierarchy/gen/http/default_service/client/cli.go +++ b/security/hierarchy/gen/http/default_service/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // default_service HTTP client CLI support package // diff --git a/security/hierarchy/gen/http/default_service/client/client.go b/security/hierarchy/gen/http/default_service/client/client.go index d64cb347..45c5fd46 100644 --- a/security/hierarchy/gen/http/default_service/client/client.go +++ b/security/hierarchy/gen/http/default_service/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // default_service client HTTP transport // diff --git a/security/hierarchy/gen/http/default_service/client/encode_decode.go b/security/hierarchy/gen/http/default_service/client/encode_decode.go index 21c97bc7..5e84f744 100644 --- a/security/hierarchy/gen/http/default_service/client/encode_decode.go +++ b/security/hierarchy/gen/http/default_service/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // default_service HTTP client encoders and decoders // diff --git a/security/hierarchy/gen/http/default_service/client/paths.go b/security/hierarchy/gen/http/default_service/client/paths.go index 543a1043..b45515b6 100644 --- a/security/hierarchy/gen/http/default_service/client/paths.go +++ b/security/hierarchy/gen/http/default_service/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the default_service service. // diff --git a/security/hierarchy/gen/http/default_service/client/types.go b/security/hierarchy/gen/http/default_service/client/types.go index 6bd4950f..7c9b3b16 100644 --- a/security/hierarchy/gen/http/default_service/client/types.go +++ b/security/hierarchy/gen/http/default_service/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // default_service HTTP client types // diff --git a/security/hierarchy/gen/http/default_service/server/encode_decode.go b/security/hierarchy/gen/http/default_service/server/encode_decode.go index 5c034a43..496e72e0 100644 --- a/security/hierarchy/gen/http/default_service/server/encode_decode.go +++ b/security/hierarchy/gen/http/default_service/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // default_service HTTP server encoders and decoders // diff --git a/security/hierarchy/gen/http/default_service/server/paths.go b/security/hierarchy/gen/http/default_service/server/paths.go index 609cdb97..0836a461 100644 --- a/security/hierarchy/gen/http/default_service/server/paths.go +++ b/security/hierarchy/gen/http/default_service/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the default_service service. // diff --git a/security/hierarchy/gen/http/default_service/server/server.go b/security/hierarchy/gen/http/default_service/server/server.go index 64180a9b..8c4f7fe5 100644 --- a/security/hierarchy/gen/http/default_service/server/server.go +++ b/security/hierarchy/gen/http/default_service/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // default_service HTTP server // diff --git a/security/hierarchy/gen/http/default_service/server/types.go b/security/hierarchy/gen/http/default_service/server/types.go index 24034c36..133dd298 100644 --- a/security/hierarchy/gen/http/default_service/server/types.go +++ b/security/hierarchy/gen/http/default_service/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // default_service HTTP server types // diff --git a/security/hierarchy/go.mod b/security/hierarchy/go.mod index 0a865c1e..f40beac7 100644 --- a/security/hierarchy/go.mod +++ b/security/hierarchy/go.mod @@ -2,19 +2,18 @@ module goa.design/examples/security/hierarchy go 1.21.1 -require goa.design/goa/v3 v3.16.2 +require goa.design/goa/v3 v3.17.0 require ( github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 // indirect - github.com/go-chi/chi/v5 v5.0.12 // indirect + github.com/go-chi/chi/v5 v5.1.0 // indirect github.com/google/uuid v1.6.0 // indirect - github.com/gorilla/websocket v1.5.1 // indirect + github.com/gorilla/websocket v1.5.3 // indirect github.com/manveru/faker v0.0.0-20171103152722-9fbc68a78c4d // indirect github.com/sergi/go-diff v1.3.1 // indirect - golang.org/x/mod v0.17.0 // indirect - golang.org/x/net v0.25.0 // indirect + golang.org/x/mod v0.18.0 // indirect golang.org/x/sync v0.7.0 // indirect - golang.org/x/text v0.15.0 // indirect - golang.org/x/tools v0.21.0 // indirect + golang.org/x/text v0.16.0 // indirect + golang.org/x/tools v0.22.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/security/hierarchy/go.sum b/security/hierarchy/go.sum index 3fb8b89f..dd2b4cb6 100644 --- a/security/hierarchy/go.sum +++ b/security/hierarchy/go.sum @@ -3,12 +3,12 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 h1:MGKhKyiYrvMDZsmLR/+RGffQSXwEkXgfLSA08qDn9AI= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598/go.mod h1:0FpDmbrt36utu8jEmeU05dPC9AB5tsLYVVi+ZHfyuwI= -github.com/go-chi/chi/v5 v5.0.12 h1:9euLV5sTrTNTRUU9POmDUvfxyj6LAABLUcEWO+JJb4s= -github.com/go-chi/chi/v5 v5.0.12/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= +github.com/go-chi/chi/v5 v5.1.0 h1:acVI1TYaD+hhedDJ3r54HyA6sExp3HfXq7QWEEY/xMw= +github.com/go-chi/chi/v5 v5.1.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= -github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= +github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg= +github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= @@ -26,18 +26,16 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -goa.design/goa/v3 v3.16.2 h1:EwsYmtyhx4bmKjQ/+150nF26DIB5NjgYZyJq6Cg2jxA= -goa.design/goa/v3 v3.16.2/go.mod h1:YAY4TIUGlQH0Rj9AWtAyPktH3WLGWRaGxi3P19RvGXU= -golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= -golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= +goa.design/goa/v3 v3.17.0 h1:J+JUCLRh1rZXXYHtc3/ZrxqLAk3uVMwfWIKIRx+cIOU= +goa.design/goa/v3 v3.17.0/go.mod h1:MXpGAWGsIn2BVTRzB6Q3n1GzxgeVKXshZrh5+1eUz6Q= +golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0= +golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/tools v0.21.0 h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw= -golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= +golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= +golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= +golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA= +golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/security/multiauth/gen/grpc/cli/multi_auth/cli.go b/security/multiauth/gen/grpc/cli/multi_auth/cli.go index 6ddc109a..4964fe1a 100644 --- a/security/multiauth/gen/grpc/cli/multi_auth/cli.go +++ b/security/multiauth/gen/grpc/cli/multi_auth/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // multi_auth gRPC client CLI support package // @@ -151,9 +151,7 @@ func ParseEndpoint(cc *grpc.ClientConn, opts ...grpc.CallOption) (goa.Endpoint, } return endpoint, data, nil -} - -// secured-serviceUsage displays the usage of the secured-service command and +} // secured-serviceUsage displays the usage of the secured-service command and // its subcommands. func securedServiceUsage() { fmt.Fprintf(os.Stderr, `The secured service exposes endpoints that require valid authorization credentials. diff --git a/security/multiauth/gen/grpc/secured_service/client/cli.go b/security/multiauth/gen/grpc/secured_service/client/cli.go index ac5bb59f..0a05156d 100644 --- a/security/multiauth/gen/grpc/secured_service/client/cli.go +++ b/security/multiauth/gen/grpc/secured_service/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // secured_service gRPC client CLI support package // diff --git a/security/multiauth/gen/grpc/secured_service/client/client.go b/security/multiauth/gen/grpc/secured_service/client/client.go index f8dec2fe..f0660c0d 100644 --- a/security/multiauth/gen/grpc/secured_service/client/client.go +++ b/security/multiauth/gen/grpc/secured_service/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // secured_service gRPC client // @@ -21,18 +21,14 @@ import ( type Client struct { grpccli secured_servicepb.SecuredServiceClient opts []grpc.CallOption -} - -// NewClient instantiates gRPC client for all the secured_service service +} // NewClient instantiates gRPC client for all the secured_service service // servers. func NewClient(cc *grpc.ClientConn, opts ...grpc.CallOption) *Client { return &Client{ grpccli: secured_servicepb.NewSecuredServiceClient(cc), opts: opts, } -} - -// Signin calls the "Signin" function in secured_servicepb.SecuredServiceClient +} // Signin calls the "Signin" function in secured_servicepb.SecuredServiceClient // interface. func (c *Client) Signin() goa.Endpoint { return func(ctx context.Context, v any) (any, error) { @@ -52,9 +48,7 @@ func (c *Client) Signin() goa.Endpoint { } return res, nil } -} - -// Secure calls the "Secure" function in secured_servicepb.SecuredServiceClient +} // Secure calls the "Secure" function in secured_servicepb.SecuredServiceClient // interface. func (c *Client) Secure() goa.Endpoint { return func(ctx context.Context, v any) (any, error) { @@ -74,9 +68,7 @@ func (c *Client) Secure() goa.Endpoint { } return res, nil } -} - -// DoublySecure calls the "DoublySecure" function in +} // DoublySecure calls the "DoublySecure" function in // secured_servicepb.SecuredServiceClient interface. func (c *Client) DoublySecure() goa.Endpoint { return func(ctx context.Context, v any) (any, error) { @@ -96,9 +88,7 @@ func (c *Client) DoublySecure() goa.Endpoint { } return res, nil } -} - -// AlsoDoublySecure calls the "AlsoDoublySecure" function in +} // AlsoDoublySecure calls the "AlsoDoublySecure" function in // secured_servicepb.SecuredServiceClient interface. func (c *Client) AlsoDoublySecure() goa.Endpoint { return func(ctx context.Context, v any) (any, error) { diff --git a/security/multiauth/gen/grpc/secured_service/client/encode_decode.go b/security/multiauth/gen/grpc/secured_service/client/encode_decode.go index 014d1632..6fba2e1e 100644 --- a/security/multiauth/gen/grpc/secured_service/client/encode_decode.go +++ b/security/multiauth/gen/grpc/secured_service/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // secured_service gRPC client encoders and decoders // @@ -51,9 +51,7 @@ func DecodeSigninResponse(ctx context.Context, v any, hdr, trlr metadata.MD) (an } res := NewSigninResult(message) return res, nil -} - -// BuildSecureFunc builds the remote method to invoke for "secured_service" +} // BuildSecureFunc builds the remote method to invoke for "secured_service" // service "secure" endpoint. func BuildSecureFunc(grpccli secured_servicepb.SecuredServiceClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc { return func(ctx context.Context, reqpb any, opts ...grpc.CallOption) (any, error) { @@ -86,9 +84,7 @@ func DecodeSecureResponse(ctx context.Context, v any, hdr, trlr metadata.MD) (an } res := NewSecureResult(message) return res, nil -} - -// BuildDoublySecureFunc builds the remote method to invoke for +} // BuildDoublySecureFunc builds the remote method to invoke for // "secured_service" service "doubly_secure" endpoint. func BuildDoublySecureFunc(grpccli secured_servicepb.SecuredServiceClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc { return func(ctx context.Context, reqpb any, opts ...grpc.CallOption) (any, error) { @@ -122,9 +118,7 @@ func DecodeDoublySecureResponse(ctx context.Context, v any, hdr, trlr metadata.M } res := NewDoublySecureResult(message) return res, nil -} - -// BuildAlsoDoublySecureFunc builds the remote method to invoke for +} // BuildAlsoDoublySecureFunc builds the remote method to invoke for // "secured_service" service "also_doubly_secure" endpoint. func BuildAlsoDoublySecureFunc(grpccli secured_servicepb.SecuredServiceClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc { return func(ctx context.Context, reqpb any, opts ...grpc.CallOption) (any, error) { diff --git a/security/multiauth/gen/grpc/secured_service/client/types.go b/security/multiauth/gen/grpc/secured_service/client/types.go index dc0d2ad4..cce1ec06 100644 --- a/security/multiauth/gen/grpc/secured_service/client/types.go +++ b/security/multiauth/gen/grpc/secured_service/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // secured_service gRPC client types // diff --git a/security/multiauth/gen/grpc/secured_service/pb/goagen_multiauth_secured_service.pb.go b/security/multiauth/gen/grpc/secured_service/pb/goagen_multiauth_secured_service.pb.go index b4dd66e3..1987a01d 100644 --- a/security/multiauth/gen/grpc/secured_service/pb/goagen_multiauth_secured_service.pb.go +++ b/security/multiauth/gen/grpc/secured_service/pb/goagen_multiauth_secured_service.pb.go @@ -1,4 +1,4 @@ -// Code generated with goa v3.16.2, DO NOT EDIT. +// Code generated with goa v3.17.0, DO NOT EDIT. // // secured_service protocol buffer definition // @@ -7,8 +7,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v5.26.1 +// protoc-gen-go v1.34.2 +// protoc v5.27.1 // source: goagen_multiauth_secured_service.proto package secured_servicepb @@ -511,7 +511,7 @@ func file_goagen_multiauth_secured_service_proto_rawDescGZIP() []byte { } var file_goagen_multiauth_secured_service_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_goagen_multiauth_secured_service_proto_goTypes = []interface{}{ +var file_goagen_multiauth_secured_service_proto_goTypes = []any{ (*SigninRequest)(nil), // 0: secured_service.SigninRequest (*SigninResponse)(nil), // 1: secured_service.SigninResponse (*SecureRequest)(nil), // 2: secured_service.SecureRequest @@ -543,7 +543,7 @@ func file_goagen_multiauth_secured_service_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_goagen_multiauth_secured_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_goagen_multiauth_secured_service_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*SigninRequest); i { case 0: return &v.state @@ -555,7 +555,7 @@ func file_goagen_multiauth_secured_service_proto_init() { return nil } } - file_goagen_multiauth_secured_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_goagen_multiauth_secured_service_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*SigninResponse); i { case 0: return &v.state @@ -567,7 +567,7 @@ func file_goagen_multiauth_secured_service_proto_init() { return nil } } - file_goagen_multiauth_secured_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_goagen_multiauth_secured_service_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*SecureRequest); i { case 0: return &v.state @@ -579,7 +579,7 @@ func file_goagen_multiauth_secured_service_proto_init() { return nil } } - file_goagen_multiauth_secured_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_goagen_multiauth_secured_service_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*SecureResponse); i { case 0: return &v.state @@ -591,7 +591,7 @@ func file_goagen_multiauth_secured_service_proto_init() { return nil } } - file_goagen_multiauth_secured_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_goagen_multiauth_secured_service_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*DoublySecureRequest); i { case 0: return &v.state @@ -603,7 +603,7 @@ func file_goagen_multiauth_secured_service_proto_init() { return nil } } - file_goagen_multiauth_secured_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_goagen_multiauth_secured_service_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*DoublySecureResponse); i { case 0: return &v.state @@ -615,7 +615,7 @@ func file_goagen_multiauth_secured_service_proto_init() { return nil } } - file_goagen_multiauth_secured_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_goagen_multiauth_secured_service_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*AlsoDoublySecureRequest); i { case 0: return &v.state @@ -627,7 +627,7 @@ func file_goagen_multiauth_secured_service_proto_init() { return nil } } - file_goagen_multiauth_secured_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_goagen_multiauth_secured_service_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*AlsoDoublySecureResponse); i { case 0: return &v.state @@ -640,8 +640,8 @@ func file_goagen_multiauth_secured_service_proto_init() { } } } - file_goagen_multiauth_secured_service_proto_msgTypes[2].OneofWrappers = []interface{}{} - file_goagen_multiauth_secured_service_proto_msgTypes[6].OneofWrappers = []interface{}{} + file_goagen_multiauth_secured_service_proto_msgTypes[2].OneofWrappers = []any{} + file_goagen_multiauth_secured_service_proto_msgTypes[6].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/security/multiauth/gen/grpc/secured_service/pb/goagen_multiauth_secured_service.proto b/security/multiauth/gen/grpc/secured_service/pb/goagen_multiauth_secured_service.proto index bf2ec932..04fc2667 100644 --- a/security/multiauth/gen/grpc/secured_service/pb/goagen_multiauth_secured_service.proto +++ b/security/multiauth/gen/grpc/secured_service/pb/goagen_multiauth_secured_service.proto @@ -1,4 +1,4 @@ -// Code generated with goa v3.16.2, DO NOT EDIT. +// Code generated with goa v3.17.0, DO NOT EDIT. // // secured_service protocol buffer definition // diff --git a/security/multiauth/gen/grpc/secured_service/pb/goagen_multiauth_secured_service_grpc.pb.go b/security/multiauth/gen/grpc/secured_service/pb/goagen_multiauth_secured_service_grpc.pb.go index ec77355d..59d4ba3b 100644 --- a/security/multiauth/gen/grpc/secured_service/pb/goagen_multiauth_secured_service_grpc.pb.go +++ b/security/multiauth/gen/grpc/secured_service/pb/goagen_multiauth_secured_service_grpc.pb.go @@ -1,4 +1,4 @@ -// Code generated with goa v3.16.2, DO NOT EDIT. +// Code generated with goa v3.17.0, DO NOT EDIT. // // secured_service protocol buffer definition // @@ -7,8 +7,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v5.26.1 +// - protoc-gen-go-grpc v1.4.0 +// - protoc v5.27.1 // source: goagen_multiauth_secured_service.proto package secured_servicepb @@ -22,8 +22,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( SecuredService_Signin_FullMethodName = "/secured_service.SecuredService/Signin" @@ -35,6 +35,9 @@ const ( // SecuredServiceClient is the client API for SecuredService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +// +// The secured service exposes endpoints that require valid authorization +// credentials. type SecuredServiceClient interface { // Creates a valid JWT Signin(ctx context.Context, in *SigninRequest, opts ...grpc.CallOption) (*SigninResponse, error) @@ -57,8 +60,9 @@ func NewSecuredServiceClient(cc grpc.ClientConnInterface) SecuredServiceClient { } func (c *securedServiceClient) Signin(ctx context.Context, in *SigninRequest, opts ...grpc.CallOption) (*SigninResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SigninResponse) - err := c.cc.Invoke(ctx, SecuredService_Signin_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, SecuredService_Signin_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -66,8 +70,9 @@ func (c *securedServiceClient) Signin(ctx context.Context, in *SigninRequest, op } func (c *securedServiceClient) Secure(ctx context.Context, in *SecureRequest, opts ...grpc.CallOption) (*SecureResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SecureResponse) - err := c.cc.Invoke(ctx, SecuredService_Secure_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, SecuredService_Secure_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -75,8 +80,9 @@ func (c *securedServiceClient) Secure(ctx context.Context, in *SecureRequest, op } func (c *securedServiceClient) DoublySecure(ctx context.Context, in *DoublySecureRequest, opts ...grpc.CallOption) (*DoublySecureResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DoublySecureResponse) - err := c.cc.Invoke(ctx, SecuredService_DoublySecure_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, SecuredService_DoublySecure_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -84,8 +90,9 @@ func (c *securedServiceClient) DoublySecure(ctx context.Context, in *DoublySecur } func (c *securedServiceClient) AlsoDoublySecure(ctx context.Context, in *AlsoDoublySecureRequest, opts ...grpc.CallOption) (*AlsoDoublySecureResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AlsoDoublySecureResponse) - err := c.cc.Invoke(ctx, SecuredService_AlsoDoublySecure_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, SecuredService_AlsoDoublySecure_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -95,6 +102,9 @@ func (c *securedServiceClient) AlsoDoublySecure(ctx context.Context, in *AlsoDou // SecuredServiceServer is the server API for SecuredService service. // All implementations must embed UnimplementedSecuredServiceServer // for forward compatibility +// +// The secured service exposes endpoints that require valid authorization +// credentials. type SecuredServiceServer interface { // Creates a valid JWT Signin(context.Context, *SigninRequest) (*SigninResponse, error) diff --git a/security/multiauth/gen/grpc/secured_service/server/encode_decode.go b/security/multiauth/gen/grpc/secured_service/server/encode_decode.go index 823ee028..b426fff3 100644 --- a/security/multiauth/gen/grpc/secured_service/server/encode_decode.go +++ b/security/multiauth/gen/grpc/secured_service/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // secured_service gRPC server encoders and decoders // diff --git a/security/multiauth/gen/grpc/secured_service/server/server.go b/security/multiauth/gen/grpc/secured_service/server/server.go index fddbd169..1b5affab 100644 --- a/security/multiauth/gen/grpc/secured_service/server/server.go +++ b/security/multiauth/gen/grpc/secured_service/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // secured_service gRPC server // diff --git a/security/multiauth/gen/grpc/secured_service/server/types.go b/security/multiauth/gen/grpc/secured_service/server/types.go index 6b68de4b..3f76b6eb 100644 --- a/security/multiauth/gen/grpc/secured_service/server/types.go +++ b/security/multiauth/gen/grpc/secured_service/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // secured_service gRPC server types // diff --git a/security/multiauth/gen/http/cli/multi_auth/cli.go b/security/multiauth/gen/http/cli/multi_auth/cli.go index bd7f1371..c4416232 100644 --- a/security/multiauth/gen/http/cli/multi_auth/cli.go +++ b/security/multiauth/gen/http/cli/multi_auth/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // multi_auth HTTP client CLI support package // diff --git a/security/multiauth/gen/http/secured_service/client/cli.go b/security/multiauth/gen/http/secured_service/client/cli.go index 00d3bf32..9aa3a14c 100644 --- a/security/multiauth/gen/http/secured_service/client/cli.go +++ b/security/multiauth/gen/http/secured_service/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // secured_service HTTP client CLI support package // diff --git a/security/multiauth/gen/http/secured_service/client/client.go b/security/multiauth/gen/http/secured_service/client/client.go index 08e27cf5..2e993d28 100644 --- a/security/multiauth/gen/http/secured_service/client/client.go +++ b/security/multiauth/gen/http/secured_service/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // secured_service client HTTP transport // diff --git a/security/multiauth/gen/http/secured_service/client/encode_decode.go b/security/multiauth/gen/http/secured_service/client/encode_decode.go index 4cada285..69d0b856 100644 --- a/security/multiauth/gen/http/secured_service/client/encode_decode.go +++ b/security/multiauth/gen/http/secured_service/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // secured_service HTTP client encoders and decoders // diff --git a/security/multiauth/gen/http/secured_service/client/paths.go b/security/multiauth/gen/http/secured_service/client/paths.go index 7da8ff6b..ac113d66 100644 --- a/security/multiauth/gen/http/secured_service/client/paths.go +++ b/security/multiauth/gen/http/secured_service/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the secured_service service. // diff --git a/security/multiauth/gen/http/secured_service/client/types.go b/security/multiauth/gen/http/secured_service/client/types.go index fd7f79a7..033d8121 100644 --- a/security/multiauth/gen/http/secured_service/client/types.go +++ b/security/multiauth/gen/http/secured_service/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // secured_service HTTP client types // diff --git a/security/multiauth/gen/http/secured_service/server/encode_decode.go b/security/multiauth/gen/http/secured_service/server/encode_decode.go index 059e74a6..a3786413 100644 --- a/security/multiauth/gen/http/secured_service/server/encode_decode.go +++ b/security/multiauth/gen/http/secured_service/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // secured_service HTTP server encoders and decoders // diff --git a/security/multiauth/gen/http/secured_service/server/paths.go b/security/multiauth/gen/http/secured_service/server/paths.go index 58aa8f5c..90e33962 100644 --- a/security/multiauth/gen/http/secured_service/server/paths.go +++ b/security/multiauth/gen/http/secured_service/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the secured_service service. // diff --git a/security/multiauth/gen/http/secured_service/server/server.go b/security/multiauth/gen/http/secured_service/server/server.go index 3e99df53..a562c15d 100644 --- a/security/multiauth/gen/http/secured_service/server/server.go +++ b/security/multiauth/gen/http/secured_service/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // secured_service HTTP server // diff --git a/security/multiauth/gen/http/secured_service/server/types.go b/security/multiauth/gen/http/secured_service/server/types.go index 075c5188..3dca20a7 100644 --- a/security/multiauth/gen/http/secured_service/server/types.go +++ b/security/multiauth/gen/http/secured_service/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // secured_service HTTP server types // diff --git a/security/multiauth/gen/secured_service/client.go b/security/multiauth/gen/secured_service/client.go index bcea49c7..29f9c8e3 100644 --- a/security/multiauth/gen/secured_service/client.go +++ b/security/multiauth/gen/secured_service/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // secured_service client // diff --git a/security/multiauth/gen/secured_service/endpoints.go b/security/multiauth/gen/secured_service/endpoints.go index 8be1fda6..308ad0fa 100644 --- a/security/multiauth/gen/secured_service/endpoints.go +++ b/security/multiauth/gen/secured_service/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // secured_service endpoints // diff --git a/security/multiauth/gen/secured_service/service.go b/security/multiauth/gen/secured_service/service.go index 580896db..56758af2 100644 --- a/security/multiauth/gen/secured_service/service.go +++ b/security/multiauth/gen/secured_service/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // secured_service service // diff --git a/security/multiauth/go.mod b/security/multiauth/go.mod index cb0e82e2..bdcdf473 100644 --- a/security/multiauth/go.mod +++ b/security/multiauth/go.mod @@ -4,24 +4,24 @@ go 1.21.1 require ( github.com/golang-jwt/jwt/v4 v4.5.0 - goa.design/goa/v3 v3.16.2 + goa.design/goa/v3 v3.17.0 google.golang.org/grpc v1.64.0 - google.golang.org/protobuf v1.34.1 + google.golang.org/protobuf v1.34.2 ) require ( github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 // indirect - github.com/go-chi/chi/v5 v5.0.12 // indirect + github.com/go-chi/chi/v5 v5.1.0 // indirect github.com/google/uuid v1.6.0 // indirect - github.com/gorilla/websocket v1.5.1 // indirect + github.com/gorilla/websocket v1.5.3 // indirect github.com/manveru/faker v0.0.0-20171103152722-9fbc68a78c4d // indirect github.com/sergi/go-diff v1.3.1 // indirect - golang.org/x/mod v0.17.0 // indirect - golang.org/x/net v0.25.0 // indirect + golang.org/x/mod v0.18.0 // indirect + golang.org/x/net v0.26.0 // indirect golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.20.0 // indirect - golang.org/x/text v0.15.0 // indirect - golang.org/x/tools v0.21.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 // indirect + golang.org/x/sys v0.21.0 // indirect + golang.org/x/text v0.16.0 // indirect + golang.org/x/tools v0.22.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/security/multiauth/go.sum b/security/multiauth/go.sum index 0bc91e3a..d2687055 100644 --- a/security/multiauth/go.sum +++ b/security/multiauth/go.sum @@ -3,16 +3,16 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 h1:MGKhKyiYrvMDZsmLR/+RGffQSXwEkXgfLSA08qDn9AI= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598/go.mod h1:0FpDmbrt36utu8jEmeU05dPC9AB5tsLYVVi+ZHfyuwI= -github.com/go-chi/chi/v5 v5.0.12 h1:9euLV5sTrTNTRUU9POmDUvfxyj6LAABLUcEWO+JJb4s= -github.com/go-chi/chi/v5 v5.0.12/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= +github.com/go-chi/chi/v5 v5.1.0 h1:acVI1TYaD+hhedDJ3r54HyA6sExp3HfXq7QWEEY/xMw= +github.com/go-chi/chi/v5 v5.1.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/golang-jwt/jwt/v4 v4.5.0 h1:7cYmW1XlMY7h7ii7UhUyChSgS5wUJEnm9uZVTGqOWzg= github.com/golang-jwt/jwt/v4 v4.5.0/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= -github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= +github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg= +github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= @@ -30,26 +30,26 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -goa.design/goa/v3 v3.16.2 h1:EwsYmtyhx4bmKjQ/+150nF26DIB5NjgYZyJq6Cg2jxA= -goa.design/goa/v3 v3.16.2/go.mod h1:YAY4TIUGlQH0Rj9AWtAyPktH3WLGWRaGxi3P19RvGXU= -golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= -golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= +goa.design/goa/v3 v3.17.0 h1:J+JUCLRh1rZXXYHtc3/ZrxqLAk3uVMwfWIKIRx+cIOU= +goa.design/goa/v3 v3.17.0/go.mod h1:MXpGAWGsIn2BVTRzB6Q3n1GzxgeVKXshZrh5+1eUz6Q= +golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0= +golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ= +golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= -golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/tools v0.21.0 h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw= -golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 h1:AgADTJarZTBqgjiUzRgfaBchgYB3/WFTC80GPwsMcRI= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0= +golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= +golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= +golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= +golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA= +golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 h1:BwIjyKYGsK9dMCBOorzRri8MQwmi7mT9rGHsCEinZkA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094/go.mod h1:Ue6ibwXGpU+dqIcODieyLOcgj7z8+IcskoNIgZxtrFY= google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY= google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg= -google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg= -google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= +google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/streaming/gen/chatter/client.go b/streaming/gen/chatter/client.go index 4a1b0222..f511917c 100644 --- a/streaming/gen/chatter/client.go +++ b/streaming/gen/chatter/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // chatter client // diff --git a/streaming/gen/chatter/endpoints.go b/streaming/gen/chatter/endpoints.go index 0f584e68..ffa48ef8 100644 --- a/streaming/gen/chatter/endpoints.go +++ b/streaming/gen/chatter/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // chatter endpoints // diff --git a/streaming/gen/chatter/service.go b/streaming/gen/chatter/service.go index 3000c444..8fe58ee0 100644 --- a/streaming/gen/chatter/service.go +++ b/streaming/gen/chatter/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // chatter service // diff --git a/streaming/gen/chatter/views/view.go b/streaming/gen/chatter/views/view.go index 6e327855..40c40cdc 100644 --- a/streaming/gen/chatter/views/view.go +++ b/streaming/gen/chatter/views/view.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // chatter views // diff --git a/streaming/gen/grpc/chatter/client/cli.go b/streaming/gen/grpc/chatter/client/cli.go index 077f015a..b2aa9112 100644 --- a/streaming/gen/grpc/chatter/client/cli.go +++ b/streaming/gen/grpc/chatter/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // chatter gRPC client CLI support package // diff --git a/streaming/gen/grpc/chatter/client/client.go b/streaming/gen/grpc/chatter/client/client.go index 4705c25a..affab4f0 100644 --- a/streaming/gen/grpc/chatter/client/client.go +++ b/streaming/gen/grpc/chatter/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // chatter gRPC client // @@ -23,9 +23,7 @@ import ( type Client struct { grpccli chatterpb.ChatterClient opts []grpc.CallOption -} - -// EchoerClientStream implements the chatter.EchoerClientStream interface. +} // EchoerClientStream implements the chatter.EchoerClientStream interface. type EchoerClientStream struct { stream chatterpb.Chatter_EchoerClient } @@ -58,9 +56,7 @@ func NewClient(cc *grpc.ClientConn, opts ...grpc.CallOption) *Client { grpccli: chatterpb.NewChatterClient(cc), opts: opts, } -} - -// Login calls the "Login" function in chatterpb.ChatterClient interface. +} // Login calls the "Login" function in chatterpb.ChatterClient interface. func (c *Client) Login() goa.Endpoint { return func(ctx context.Context, v any) (any, error) { inv := goagrpc.NewInvoker( @@ -79,9 +75,7 @@ func (c *Client) Login() goa.Endpoint { } return res, nil } -} - -// Echoer calls the "Echoer" function in chatterpb.ChatterClient interface. +} // Echoer calls the "Echoer" function in chatterpb.ChatterClient interface. func (c *Client) Echoer() goa.Endpoint { return func(ctx context.Context, v any) (any, error) { inv := goagrpc.NewInvoker( @@ -100,9 +94,7 @@ func (c *Client) Echoer() goa.Endpoint { } return res, nil } -} - -// Listener calls the "Listener" function in chatterpb.ChatterClient interface. +} // Listener calls the "Listener" function in chatterpb.ChatterClient interface. func (c *Client) Listener() goa.Endpoint { return func(ctx context.Context, v any) (any, error) { inv := goagrpc.NewInvoker( @@ -121,9 +113,7 @@ func (c *Client) Listener() goa.Endpoint { } return res, nil } -} - -// Summary calls the "Summary" function in chatterpb.ChatterClient interface. +} // Summary calls the "Summary" function in chatterpb.ChatterClient interface. func (c *Client) Summary() goa.Endpoint { return func(ctx context.Context, v any) (any, error) { inv := goagrpc.NewInvoker( @@ -142,9 +132,7 @@ func (c *Client) Summary() goa.Endpoint { } return res, nil } -} - -// Subscribe calls the "Subscribe" function in chatterpb.ChatterClient +} // Subscribe calls the "Subscribe" function in chatterpb.ChatterClient // interface. func (c *Client) Subscribe() goa.Endpoint { return func(ctx context.Context, v any) (any, error) { @@ -164,9 +152,7 @@ func (c *Client) Subscribe() goa.Endpoint { } return res, nil } -} - -// History calls the "History" function in chatterpb.ChatterClient interface. +} // History calls the "History" function in chatterpb.ChatterClient interface. func (c *Client) History() goa.Endpoint { return func(ctx context.Context, v any) (any, error) { inv := goagrpc.NewInvoker( @@ -185,9 +171,7 @@ func (c *Client) History() goa.Endpoint { } return res, nil } -} - -// Recv reads instances of "chatterpb.EchoerResponse" from the "echoer" +} // Recv reads instances of "chatterpb.EchoerResponse" from the "echoer" // endpoint gRPC stream. func (s *EchoerClientStream) Recv() (string, error) { var res string diff --git a/streaming/gen/grpc/chatter/client/encode_decode.go b/streaming/gen/grpc/chatter/client/encode_decode.go index 475598d9..40c90f28 100644 --- a/streaming/gen/grpc/chatter/client/encode_decode.go +++ b/streaming/gen/grpc/chatter/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // chatter gRPC client encoders and decoders // @@ -50,9 +50,7 @@ func DecodeLoginResponse(ctx context.Context, v any, hdr, trlr metadata.MD) (any } res := NewLoginResult(message) return res, nil -} - -// BuildEchoerFunc builds the remote method to invoke for "chatter" service +} // BuildEchoerFunc builds the remote method to invoke for "chatter" service // "echoer" endpoint. func BuildEchoerFunc(grpccli chatterpb.ChatterClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc { return func(ctx context.Context, reqpb any, opts ...grpc.CallOption) (any, error) { @@ -81,9 +79,7 @@ func DecodeEchoerResponse(ctx context.Context, v any, hdr, trlr metadata.MD) (an return &EchoerClientStream{ stream: v.(chatterpb.Chatter_EchoerClient), }, nil -} - -// BuildListenerFunc builds the remote method to invoke for "chatter" service +} // BuildListenerFunc builds the remote method to invoke for "chatter" service // "listener" endpoint. func BuildListenerFunc(grpccli chatterpb.ChatterClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc { return func(ctx context.Context, reqpb any, opts ...grpc.CallOption) (any, error) { @@ -112,9 +108,7 @@ func DecodeListenerResponse(ctx context.Context, v any, hdr, trlr metadata.MD) ( return &ListenerClientStream{ stream: v.(chatterpb.Chatter_ListenerClient), }, nil -} - -// BuildSummaryFunc builds the remote method to invoke for "chatter" service +} // BuildSummaryFunc builds the remote method to invoke for "chatter" service // "summary" endpoint. func BuildSummaryFunc(grpccli chatterpb.ChatterClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc { return func(ctx context.Context, reqpb any, opts ...grpc.CallOption) (any, error) { @@ -150,9 +144,7 @@ func DecodeSummaryResponse(ctx context.Context, v any, hdr, trlr metadata.MD) (a stream: v.(chatterpb.Chatter_SummaryClient), view: view, }, nil -} - -// BuildSubscribeFunc builds the remote method to invoke for "chatter" service +} // BuildSubscribeFunc builds the remote method to invoke for "chatter" service // "subscribe" endpoint. func BuildSubscribeFunc(grpccli chatterpb.ChatterClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc { return func(ctx context.Context, reqpb any, opts ...grpc.CallOption) (any, error) { @@ -182,9 +174,7 @@ func DecodeSubscribeResponse(ctx context.Context, v any, hdr, trlr metadata.MD) return &SubscribeClientStream{ stream: v.(chatterpb.Chatter_SubscribeClient), }, nil -} - -// BuildHistoryFunc builds the remote method to invoke for "chatter" service +} // BuildHistoryFunc builds the remote method to invoke for "chatter" service // "history" endpoint. func BuildHistoryFunc(grpccli chatterpb.ChatterClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc { return func(ctx context.Context, reqpb any, opts ...grpc.CallOption) (any, error) { diff --git a/streaming/gen/grpc/chatter/client/types.go b/streaming/gen/grpc/chatter/client/types.go index 368691ed..b807afb9 100644 --- a/streaming/gen/grpc/chatter/client/types.go +++ b/streaming/gen/grpc/chatter/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // chatter gRPC client types // diff --git a/streaming/gen/grpc/chatter/pb/goagen_streaming_chatter.pb.go b/streaming/gen/grpc/chatter/pb/goagen_streaming_chatter.pb.go index f163babb..0f0a29d1 100644 --- a/streaming/gen/grpc/chatter/pb/goagen_streaming_chatter.pb.go +++ b/streaming/gen/grpc/chatter/pb/goagen_streaming_chatter.pb.go @@ -1,4 +1,4 @@ -// Code generated with goa v3.16.2, DO NOT EDIT. +// Code generated with goa v3.17.0, DO NOT EDIT. // // chatter protocol buffer definition // @@ -7,8 +7,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v5.26.1 +// protoc-gen-go v1.34.2 +// protoc v5.27.1 // source: goagen_streaming_chatter.proto package chatterpb @@ -750,7 +750,7 @@ func file_goagen_streaming_chatter_proto_rawDescGZIP() []byte { } var file_goagen_streaming_chatter_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_goagen_streaming_chatter_proto_goTypes = []interface{}{ +var file_goagen_streaming_chatter_proto_goTypes = []any{ (*LoginRequest)(nil), // 0: chatter.LoginRequest (*LoginResponse)(nil), // 1: chatter.LoginResponse (*EchoerStreamingRequest)(nil), // 2: chatter.EchoerStreamingRequest @@ -792,7 +792,7 @@ func file_goagen_streaming_chatter_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_goagen_streaming_chatter_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_goagen_streaming_chatter_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*LoginRequest); i { case 0: return &v.state @@ -804,7 +804,7 @@ func file_goagen_streaming_chatter_proto_init() { return nil } } - file_goagen_streaming_chatter_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_goagen_streaming_chatter_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*LoginResponse); i { case 0: return &v.state @@ -816,7 +816,7 @@ func file_goagen_streaming_chatter_proto_init() { return nil } } - file_goagen_streaming_chatter_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_goagen_streaming_chatter_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*EchoerStreamingRequest); i { case 0: return &v.state @@ -828,7 +828,7 @@ func file_goagen_streaming_chatter_proto_init() { return nil } } - file_goagen_streaming_chatter_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_goagen_streaming_chatter_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*EchoerResponse); i { case 0: return &v.state @@ -840,7 +840,7 @@ func file_goagen_streaming_chatter_proto_init() { return nil } } - file_goagen_streaming_chatter_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_goagen_streaming_chatter_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*ListenerStreamingRequest); i { case 0: return &v.state @@ -852,7 +852,7 @@ func file_goagen_streaming_chatter_proto_init() { return nil } } - file_goagen_streaming_chatter_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_goagen_streaming_chatter_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ListenerResponse); i { case 0: return &v.state @@ -864,7 +864,7 @@ func file_goagen_streaming_chatter_proto_init() { return nil } } - file_goagen_streaming_chatter_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_goagen_streaming_chatter_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*SummaryStreamingRequest); i { case 0: return &v.state @@ -876,7 +876,7 @@ func file_goagen_streaming_chatter_proto_init() { return nil } } - file_goagen_streaming_chatter_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_goagen_streaming_chatter_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*ChatSummaryCollection); i { case 0: return &v.state @@ -888,7 +888,7 @@ func file_goagen_streaming_chatter_proto_init() { return nil } } - file_goagen_streaming_chatter_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_goagen_streaming_chatter_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*ChatSummary); i { case 0: return &v.state @@ -900,7 +900,7 @@ func file_goagen_streaming_chatter_proto_init() { return nil } } - file_goagen_streaming_chatter_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_goagen_streaming_chatter_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*SubscribeRequest); i { case 0: return &v.state @@ -912,7 +912,7 @@ func file_goagen_streaming_chatter_proto_init() { return nil } } - file_goagen_streaming_chatter_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_goagen_streaming_chatter_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*SubscribeResponse); i { case 0: return &v.state @@ -924,7 +924,7 @@ func file_goagen_streaming_chatter_proto_init() { return nil } } - file_goagen_streaming_chatter_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_goagen_streaming_chatter_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*HistoryRequest); i { case 0: return &v.state @@ -936,7 +936,7 @@ func file_goagen_streaming_chatter_proto_init() { return nil } } - file_goagen_streaming_chatter_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_goagen_streaming_chatter_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*HistoryResponse); i { case 0: return &v.state @@ -949,8 +949,8 @@ func file_goagen_streaming_chatter_proto_init() { } } } - file_goagen_streaming_chatter_proto_msgTypes[8].OneofWrappers = []interface{}{} - file_goagen_streaming_chatter_proto_msgTypes[12].OneofWrappers = []interface{}{} + file_goagen_streaming_chatter_proto_msgTypes[8].OneofWrappers = []any{} + file_goagen_streaming_chatter_proto_msgTypes[12].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/streaming/gen/grpc/chatter/pb/goagen_streaming_chatter.proto b/streaming/gen/grpc/chatter/pb/goagen_streaming_chatter.proto index 2cd2b750..1e1cb285 100644 --- a/streaming/gen/grpc/chatter/pb/goagen_streaming_chatter.proto +++ b/streaming/gen/grpc/chatter/pb/goagen_streaming_chatter.proto @@ -1,4 +1,4 @@ -// Code generated with goa v3.16.2, DO NOT EDIT. +// Code generated with goa v3.17.0, DO NOT EDIT. // // chatter protocol buffer definition // diff --git a/streaming/gen/grpc/chatter/pb/goagen_streaming_chatter_grpc.pb.go b/streaming/gen/grpc/chatter/pb/goagen_streaming_chatter_grpc.pb.go index 31fb78e7..fe71a044 100644 --- a/streaming/gen/grpc/chatter/pb/goagen_streaming_chatter_grpc.pb.go +++ b/streaming/gen/grpc/chatter/pb/goagen_streaming_chatter_grpc.pb.go @@ -1,4 +1,4 @@ -// Code generated with goa v3.16.2, DO NOT EDIT. +// Code generated with goa v3.17.0, DO NOT EDIT. // // chatter protocol buffer definition // @@ -7,8 +7,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v5.26.1 +// - protoc-gen-go-grpc v1.4.0 +// - protoc v5.27.1 // source: goagen_streaming_chatter.proto package chatterpb @@ -22,8 +22,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( Chatter_Login_FullMethodName = "/chatter.Chatter/Login" @@ -37,6 +37,8 @@ const ( // ChatterClient is the client API for Chatter service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +// +// The chatter service implements a simple client and server chat. type ChatterClient interface { // Creates a valid JWT token for auth to chat. Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) @@ -61,8 +63,9 @@ func NewChatterClient(cc grpc.ClientConnInterface) ChatterClient { } func (c *chatterClient) Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(LoginResponse) - err := c.cc.Invoke(ctx, Chatter_Login_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Chatter_Login_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -70,11 +73,12 @@ func (c *chatterClient) Login(ctx context.Context, in *LoginRequest, opts ...grp } func (c *chatterClient) Echoer(ctx context.Context, opts ...grpc.CallOption) (Chatter_EchoerClient, error) { - stream, err := c.cc.NewStream(ctx, &Chatter_ServiceDesc.Streams[0], Chatter_Echoer_FullMethodName, opts...) + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &Chatter_ServiceDesc.Streams[0], Chatter_Echoer_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &chatterEchoerClient{stream} + x := &chatterEchoerClient{ClientStream: stream} return x, nil } @@ -101,11 +105,12 @@ func (x *chatterEchoerClient) Recv() (*EchoerResponse, error) { } func (c *chatterClient) Listener(ctx context.Context, opts ...grpc.CallOption) (Chatter_ListenerClient, error) { - stream, err := c.cc.NewStream(ctx, &Chatter_ServiceDesc.Streams[1], Chatter_Listener_FullMethodName, opts...) + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &Chatter_ServiceDesc.Streams[1], Chatter_Listener_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &chatterListenerClient{stream} + x := &chatterListenerClient{ClientStream: stream} return x, nil } @@ -135,11 +140,12 @@ func (x *chatterListenerClient) CloseAndRecv() (*ListenerResponse, error) { } func (c *chatterClient) Summary(ctx context.Context, opts ...grpc.CallOption) (Chatter_SummaryClient, error) { - stream, err := c.cc.NewStream(ctx, &Chatter_ServiceDesc.Streams[2], Chatter_Summary_FullMethodName, opts...) + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &Chatter_ServiceDesc.Streams[2], Chatter_Summary_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &chatterSummaryClient{stream} + x := &chatterSummaryClient{ClientStream: stream} return x, nil } @@ -169,11 +175,12 @@ func (x *chatterSummaryClient) CloseAndRecv() (*ChatSummaryCollection, error) { } func (c *chatterClient) Subscribe(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (Chatter_SubscribeClient, error) { - stream, err := c.cc.NewStream(ctx, &Chatter_ServiceDesc.Streams[3], Chatter_Subscribe_FullMethodName, opts...) + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &Chatter_ServiceDesc.Streams[3], Chatter_Subscribe_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &chatterSubscribeClient{stream} + x := &chatterSubscribeClient{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -201,11 +208,12 @@ func (x *chatterSubscribeClient) Recv() (*SubscribeResponse, error) { } func (c *chatterClient) History(ctx context.Context, in *HistoryRequest, opts ...grpc.CallOption) (Chatter_HistoryClient, error) { - stream, err := c.cc.NewStream(ctx, &Chatter_ServiceDesc.Streams[4], Chatter_History_FullMethodName, opts...) + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &Chatter_ServiceDesc.Streams[4], Chatter_History_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &chatterHistoryClient{stream} + x := &chatterHistoryClient{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -235,6 +243,8 @@ func (x *chatterHistoryClient) Recv() (*HistoryResponse, error) { // ChatterServer is the server API for Chatter service. // All implementations must embed UnimplementedChatterServer // for forward compatibility +// +// The chatter service implements a simple client and server chat. type ChatterServer interface { // Creates a valid JWT token for auth to chat. Login(context.Context, *LoginRequest) (*LoginResponse, error) @@ -305,7 +315,7 @@ func _Chatter_Login_Handler(srv interface{}, ctx context.Context, dec func(inter } func _Chatter_Echoer_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(ChatterServer).Echoer(&chatterEchoerServer{stream}) + return srv.(ChatterServer).Echoer(&chatterEchoerServer{ServerStream: stream}) } type Chatter_EchoerServer interface { @@ -331,7 +341,7 @@ func (x *chatterEchoerServer) Recv() (*EchoerStreamingRequest, error) { } func _Chatter_Listener_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(ChatterServer).Listener(&chatterListenerServer{stream}) + return srv.(ChatterServer).Listener(&chatterListenerServer{ServerStream: stream}) } type Chatter_ListenerServer interface { @@ -357,7 +367,7 @@ func (x *chatterListenerServer) Recv() (*ListenerStreamingRequest, error) { } func _Chatter_Summary_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(ChatterServer).Summary(&chatterSummaryServer{stream}) + return srv.(ChatterServer).Summary(&chatterSummaryServer{ServerStream: stream}) } type Chatter_SummaryServer interface { @@ -387,7 +397,7 @@ func _Chatter_Subscribe_Handler(srv interface{}, stream grpc.ServerStream) error if err := stream.RecvMsg(m); err != nil { return err } - return srv.(ChatterServer).Subscribe(m, &chatterSubscribeServer{stream}) + return srv.(ChatterServer).Subscribe(m, &chatterSubscribeServer{ServerStream: stream}) } type Chatter_SubscribeServer interface { @@ -408,7 +418,7 @@ func _Chatter_History_Handler(srv interface{}, stream grpc.ServerStream) error { if err := stream.RecvMsg(m); err != nil { return err } - return srv.(ChatterServer).History(m, &chatterHistoryServer{stream}) + return srv.(ChatterServer).History(m, &chatterHistoryServer{ServerStream: stream}) } type Chatter_HistoryServer interface { diff --git a/streaming/gen/grpc/chatter/server/encode_decode.go b/streaming/gen/grpc/chatter/server/encode_decode.go index 98d1423b..668faef7 100644 --- a/streaming/gen/grpc/chatter/server/encode_decode.go +++ b/streaming/gen/grpc/chatter/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // chatter gRPC server encoders and decoders // diff --git a/streaming/gen/grpc/chatter/server/server.go b/streaming/gen/grpc/chatter/server/server.go index 46c9acfc..46558b14 100644 --- a/streaming/gen/grpc/chatter/server/server.go +++ b/streaming/gen/grpc/chatter/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // chatter gRPC server // diff --git a/streaming/gen/grpc/chatter/server/types.go b/streaming/gen/grpc/chatter/server/types.go index 544781fe..567a71b7 100644 --- a/streaming/gen/grpc/chatter/server/types.go +++ b/streaming/gen/grpc/chatter/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // chatter gRPC server types // diff --git a/streaming/gen/grpc/cli/chatter/cli.go b/streaming/gen/grpc/cli/chatter/cli.go index c54c7f28..609ea676 100644 --- a/streaming/gen/grpc/cli/chatter/cli.go +++ b/streaming/gen/grpc/cli/chatter/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // chatter gRPC client CLI support package // @@ -168,9 +168,7 @@ func ParseEndpoint(cc *grpc.ClientConn, opts ...grpc.CallOption) (goa.Endpoint, } return endpoint, data, nil -} - -// chatterUsage displays the usage of the chatter command and its subcommands. +} // chatterUsage displays the usage of the chatter command and its subcommands. func chatterUsage() { fmt.Fprintf(os.Stderr, `The chatter service implements a simple client and server chat. Usage: diff --git a/streaming/gen/http/chatter/client/cli.go b/streaming/gen/http/chatter/client/cli.go index 1f827421..bd9879b7 100644 --- a/streaming/gen/http/chatter/client/cli.go +++ b/streaming/gen/http/chatter/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // chatter HTTP client CLI support package // diff --git a/streaming/gen/http/chatter/client/client.go b/streaming/gen/http/chatter/client/client.go index d707bb03..947d96d5 100644 --- a/streaming/gen/http/chatter/client/client.go +++ b/streaming/gen/http/chatter/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // chatter client HTTP transport // diff --git a/streaming/gen/http/chatter/client/encode_decode.go b/streaming/gen/http/chatter/client/encode_decode.go index 5dc480b3..1b0c989a 100644 --- a/streaming/gen/http/chatter/client/encode_decode.go +++ b/streaming/gen/http/chatter/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // chatter HTTP client encoders and decoders // diff --git a/streaming/gen/http/chatter/client/paths.go b/streaming/gen/http/chatter/client/paths.go index f28ec5f3..d6693fec 100644 --- a/streaming/gen/http/chatter/client/paths.go +++ b/streaming/gen/http/chatter/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the chatter service. // diff --git a/streaming/gen/http/chatter/client/types.go b/streaming/gen/http/chatter/client/types.go index d6421d67..5861baf7 100644 --- a/streaming/gen/http/chatter/client/types.go +++ b/streaming/gen/http/chatter/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // chatter HTTP client types // diff --git a/streaming/gen/http/chatter/client/websocket.go b/streaming/gen/http/chatter/client/websocket.go index ec82f69a..24905d44 100644 --- a/streaming/gen/http/chatter/client/websocket.go +++ b/streaming/gen/http/chatter/client/websocket.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // chatter WebSocket client streaming // diff --git a/streaming/gen/http/chatter/server/encode_decode.go b/streaming/gen/http/chatter/server/encode_decode.go index 64451a67..5f571521 100644 --- a/streaming/gen/http/chatter/server/encode_decode.go +++ b/streaming/gen/http/chatter/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // chatter HTTP server encoders and decoders // diff --git a/streaming/gen/http/chatter/server/paths.go b/streaming/gen/http/chatter/server/paths.go index 2699f584..617d7006 100644 --- a/streaming/gen/http/chatter/server/paths.go +++ b/streaming/gen/http/chatter/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the chatter service. // diff --git a/streaming/gen/http/chatter/server/server.go b/streaming/gen/http/chatter/server/server.go index 830045a1..62186d01 100644 --- a/streaming/gen/http/chatter/server/server.go +++ b/streaming/gen/http/chatter/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // chatter HTTP server // diff --git a/streaming/gen/http/chatter/server/types.go b/streaming/gen/http/chatter/server/types.go index 4df9e783..dcc6eeaa 100644 --- a/streaming/gen/http/chatter/server/types.go +++ b/streaming/gen/http/chatter/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // chatter HTTP server types // diff --git a/streaming/gen/http/chatter/server/websocket.go b/streaming/gen/http/chatter/server/websocket.go index 7cc274c5..b6477c37 100644 --- a/streaming/gen/http/chatter/server/websocket.go +++ b/streaming/gen/http/chatter/server/websocket.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // chatter WebSocket server streaming // diff --git a/streaming/gen/http/cli/chatter/cli.go b/streaming/gen/http/cli/chatter/cli.go index e3b97f52..b9033edd 100644 --- a/streaming/gen/http/cli/chatter/cli.go +++ b/streaming/gen/http/cli/chatter/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // chatter HTTP client CLI support package // diff --git a/streaming/go.mod b/streaming/go.mod index 9530e933..fab5cb02 100644 --- a/streaming/go.mod +++ b/streaming/go.mod @@ -4,24 +4,24 @@ go 1.21.1 require ( github.com/golang-jwt/jwt/v4 v4.5.0 - github.com/gorilla/websocket v1.5.1 - goa.design/goa/v3 v3.16.2 + github.com/gorilla/websocket v1.5.3 + goa.design/goa/v3 v3.17.0 google.golang.org/grpc v1.64.0 - google.golang.org/protobuf v1.34.1 + google.golang.org/protobuf v1.34.2 ) require ( github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 // indirect - github.com/go-chi/chi/v5 v5.0.12 // indirect + github.com/go-chi/chi/v5 v5.1.0 // indirect github.com/google/uuid v1.6.0 // indirect github.com/manveru/faker v0.0.0-20171103152722-9fbc68a78c4d // indirect github.com/sergi/go-diff v1.3.1 // indirect - golang.org/x/mod v0.17.0 // indirect - golang.org/x/net v0.25.0 // indirect + golang.org/x/mod v0.18.0 // indirect + golang.org/x/net v0.26.0 // indirect golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.20.0 // indirect - golang.org/x/text v0.15.0 // indirect - golang.org/x/tools v0.21.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 // indirect + golang.org/x/sys v0.21.0 // indirect + golang.org/x/text v0.16.0 // indirect + golang.org/x/tools v0.22.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/streaming/go.sum b/streaming/go.sum index 0bc91e3a..d2687055 100644 --- a/streaming/go.sum +++ b/streaming/go.sum @@ -3,16 +3,16 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 h1:MGKhKyiYrvMDZsmLR/+RGffQSXwEkXgfLSA08qDn9AI= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598/go.mod h1:0FpDmbrt36utu8jEmeU05dPC9AB5tsLYVVi+ZHfyuwI= -github.com/go-chi/chi/v5 v5.0.12 h1:9euLV5sTrTNTRUU9POmDUvfxyj6LAABLUcEWO+JJb4s= -github.com/go-chi/chi/v5 v5.0.12/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= +github.com/go-chi/chi/v5 v5.1.0 h1:acVI1TYaD+hhedDJ3r54HyA6sExp3HfXq7QWEEY/xMw= +github.com/go-chi/chi/v5 v5.1.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/golang-jwt/jwt/v4 v4.5.0 h1:7cYmW1XlMY7h7ii7UhUyChSgS5wUJEnm9uZVTGqOWzg= github.com/golang-jwt/jwt/v4 v4.5.0/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= -github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= +github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg= +github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= @@ -30,26 +30,26 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -goa.design/goa/v3 v3.16.2 h1:EwsYmtyhx4bmKjQ/+150nF26DIB5NjgYZyJq6Cg2jxA= -goa.design/goa/v3 v3.16.2/go.mod h1:YAY4TIUGlQH0Rj9AWtAyPktH3WLGWRaGxi3P19RvGXU= -golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= -golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= +goa.design/goa/v3 v3.17.0 h1:J+JUCLRh1rZXXYHtc3/ZrxqLAk3uVMwfWIKIRx+cIOU= +goa.design/goa/v3 v3.17.0/go.mod h1:MXpGAWGsIn2BVTRzB6Q3n1GzxgeVKXshZrh5+1eUz6Q= +golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0= +golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ= +golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= -golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/tools v0.21.0 h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw= -golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 h1:AgADTJarZTBqgjiUzRgfaBchgYB3/WFTC80GPwsMcRI= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0= +golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= +golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= +golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= +golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA= +golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 h1:BwIjyKYGsK9dMCBOorzRri8MQwmi7mT9rGHsCEinZkA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094/go.mod h1:Ue6ibwXGpU+dqIcODieyLOcgj7z8+IcskoNIgZxtrFY= google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY= google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg= -google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg= -google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= +google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/tus/gen/http/cli/upload/cli.go b/tus/gen/http/cli/upload/cli.go index 9c2b2b63..23f47e9b 100644 --- a/tus/gen/http/cli/upload/cli.go +++ b/tus/gen/http/cli/upload/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // Upload HTTP client CLI support package // @@ -162,7 +162,6 @@ func ParseEndpoint( } case "options": endpoint = c.Options() - data = nil case "post": endpoint = c.Post() data, err = tusc.BuildPostPayload(*tusPostTusResumableFlag, *tusPostUploadLengthFlag, *tusPostUploadDeferLengthFlag, *tusPostUploadChecksumFlag, *tusPostUploadMetadataFlag, *tusPostTusMaxSizeFlag) diff --git a/tus/gen/http/tus/client/cli.go b/tus/gen/http/tus/client/cli.go index 420c58f4..7a1caa34 100644 --- a/tus/gen/http/tus/client/cli.go +++ b/tus/gen/http/tus/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // tus HTTP client CLI support package // diff --git a/tus/gen/http/tus/client/client.go b/tus/gen/http/tus/client/client.go index 716ef216..94bb1e08 100644 --- a/tus/gen/http/tus/client/client.go +++ b/tus/gen/http/tus/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // tus client HTTP transport // diff --git a/tus/gen/http/tus/client/encode_decode.go b/tus/gen/http/tus/client/encode_decode.go index 6b73f460..7abaf613 100644 --- a/tus/gen/http/tus/client/encode_decode.go +++ b/tus/gen/http/tus/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // tus HTTP client encoders and decoders // diff --git a/tus/gen/http/tus/client/paths.go b/tus/gen/http/tus/client/paths.go index 53509369..51ac2c2e 100644 --- a/tus/gen/http/tus/client/paths.go +++ b/tus/gen/http/tus/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the tus service. // diff --git a/tus/gen/http/tus/client/types.go b/tus/gen/http/tus/client/types.go index 635e2fe1..465ec453 100644 --- a/tus/gen/http/tus/client/types.go +++ b/tus/gen/http/tus/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // tus HTTP client types // diff --git a/tus/gen/http/tus/server/encode_decode.go b/tus/gen/http/tus/server/encode_decode.go index 230c9cd7..57df35a5 100644 --- a/tus/gen/http/tus/server/encode_decode.go +++ b/tus/gen/http/tus/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // tus HTTP server encoders and decoders // diff --git a/tus/gen/http/tus/server/paths.go b/tus/gen/http/tus/server/paths.go index 799e9331..0e3f758b 100644 --- a/tus/gen/http/tus/server/paths.go +++ b/tus/gen/http/tus/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the tus service. // diff --git a/tus/gen/http/tus/server/server.go b/tus/gen/http/tus/server/server.go index 2606ec8c..3a495955 100644 --- a/tus/gen/http/tus/server/server.go +++ b/tus/gen/http/tus/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // tus HTTP server // diff --git a/tus/gen/http/tus/server/types.go b/tus/gen/http/tus/server/types.go index 2ab1d782..11eaebbd 100644 --- a/tus/gen/http/tus/server/types.go +++ b/tus/gen/http/tus/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // tus HTTP server types // diff --git a/tus/gen/tus/client.go b/tus/gen/tus/client.go index 39b1f111..b8119b87 100644 --- a/tus/gen/tus/client.go +++ b/tus/gen/tus/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // tus client // diff --git a/tus/gen/tus/endpoints.go b/tus/gen/tus/endpoints.go index c32546fd..64d856e1 100644 --- a/tus/gen/tus/endpoints.go +++ b/tus/gen/tus/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // tus endpoints // diff --git a/tus/gen/tus/service.go b/tus/gen/tus/service.go index 0c264fc3..64121e61 100644 --- a/tus/gen/tus/service.go +++ b/tus/gen/tus/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // tus service // diff --git a/tus/go.mod b/tus/go.mod index 18df9665..c6edd822 100644 --- a/tus/go.mod +++ b/tus/go.mod @@ -4,20 +4,19 @@ go 1.21.1 require ( github.com/rs/xid v1.5.0 - goa.design/goa/v3 v3.16.2 + goa.design/goa/v3 v3.17.0 ) require ( github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 // indirect - github.com/go-chi/chi/v5 v5.0.12 // indirect + github.com/go-chi/chi/v5 v5.1.0 // indirect github.com/google/uuid v1.6.0 // indirect - github.com/gorilla/websocket v1.5.1 // indirect + github.com/gorilla/websocket v1.5.3 // indirect github.com/manveru/faker v0.0.0-20171103152722-9fbc68a78c4d // indirect github.com/sergi/go-diff v1.3.1 // indirect - golang.org/x/mod v0.17.0 // indirect - golang.org/x/net v0.25.0 // indirect + golang.org/x/mod v0.18.0 // indirect golang.org/x/sync v0.7.0 // indirect - golang.org/x/text v0.15.0 // indirect - golang.org/x/tools v0.21.0 // indirect + golang.org/x/text v0.16.0 // indirect + golang.org/x/tools v0.22.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/tus/go.sum b/tus/go.sum index 5345e359..10dd952d 100644 --- a/tus/go.sum +++ b/tus/go.sum @@ -3,12 +3,12 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 h1:MGKhKyiYrvMDZsmLR/+RGffQSXwEkXgfLSA08qDn9AI= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598/go.mod h1:0FpDmbrt36utu8jEmeU05dPC9AB5tsLYVVi+ZHfyuwI= -github.com/go-chi/chi/v5 v5.0.12 h1:9euLV5sTrTNTRUU9POmDUvfxyj6LAABLUcEWO+JJb4s= -github.com/go-chi/chi/v5 v5.0.12/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= +github.com/go-chi/chi/v5 v5.1.0 h1:acVI1TYaD+hhedDJ3r54HyA6sExp3HfXq7QWEEY/xMw= +github.com/go-chi/chi/v5 v5.1.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= -github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= +github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg= +github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= @@ -28,18 +28,16 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -goa.design/goa/v3 v3.16.2 h1:EwsYmtyhx4bmKjQ/+150nF26DIB5NjgYZyJq6Cg2jxA= -goa.design/goa/v3 v3.16.2/go.mod h1:YAY4TIUGlQH0Rj9AWtAyPktH3WLGWRaGxi3P19RvGXU= -golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= -golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= +goa.design/goa/v3 v3.17.0 h1:J+JUCLRh1rZXXYHtc3/ZrxqLAk3uVMwfWIKIRx+cIOU= +goa.design/goa/v3 v3.17.0/go.mod h1:MXpGAWGsIn2BVTRzB6Q3n1GzxgeVKXshZrh5+1eUz6Q= +golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0= +golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/tools v0.21.0 h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw= -golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= +golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= +golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= +golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA= +golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/upload_download/gen/http/cli/upload_download/cli.go b/upload_download/gen/http/cli/upload_download/cli.go index 1b43818a..a55095cf 100644 --- a/upload_download/gen/http/cli/upload_download/cli.go +++ b/upload_download/gen/http/cli/upload_download/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // upload_download HTTP client CLI support package // diff --git a/upload_download/gen/http/updown/client/cli.go b/upload_download/gen/http/updown/client/cli.go index a9ec5770..8e61878d 100644 --- a/upload_download/gen/http/updown/client/cli.go +++ b/upload_download/gen/http/updown/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // updown HTTP client CLI support package // diff --git a/upload_download/gen/http/updown/client/client.go b/upload_download/gen/http/updown/client/client.go index 068cbcab..ac501d30 100644 --- a/upload_download/gen/http/updown/client/client.go +++ b/upload_download/gen/http/updown/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // updown client HTTP transport // diff --git a/upload_download/gen/http/updown/client/encode_decode.go b/upload_download/gen/http/updown/client/encode_decode.go index 6713e093..b8a867b8 100644 --- a/upload_download/gen/http/updown/client/encode_decode.go +++ b/upload_download/gen/http/updown/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // updown HTTP client encoders and decoders // diff --git a/upload_download/gen/http/updown/client/paths.go b/upload_download/gen/http/updown/client/paths.go index 3602daa8..7ca54e11 100644 --- a/upload_download/gen/http/updown/client/paths.go +++ b/upload_download/gen/http/updown/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the updown service. // diff --git a/upload_download/gen/http/updown/client/types.go b/upload_download/gen/http/updown/client/types.go index 26709196..d88b33de 100644 --- a/upload_download/gen/http/updown/client/types.go +++ b/upload_download/gen/http/updown/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // updown HTTP client types // diff --git a/upload_download/gen/http/updown/server/encode_decode.go b/upload_download/gen/http/updown/server/encode_decode.go index 635f0426..4b1351c1 100644 --- a/upload_download/gen/http/updown/server/encode_decode.go +++ b/upload_download/gen/http/updown/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // updown HTTP server encoders and decoders // diff --git a/upload_download/gen/http/updown/server/paths.go b/upload_download/gen/http/updown/server/paths.go index 3d009dfb..1f9cf92b 100644 --- a/upload_download/gen/http/updown/server/paths.go +++ b/upload_download/gen/http/updown/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // HTTP request path constructors for the updown service. // diff --git a/upload_download/gen/http/updown/server/server.go b/upload_download/gen/http/updown/server/server.go index eb7e19fe..502bd6b2 100644 --- a/upload_download/gen/http/updown/server/server.go +++ b/upload_download/gen/http/updown/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // updown HTTP server // @@ -182,6 +182,22 @@ func NewDownloadHandler( } o := res.(*updown.DownloadResponseData) defer o.Body.Close() + if wt, ok := o.Body.(io.WriterTo); ok { + n, err := wt.WriteTo(w) + if err != nil { + if n == 0 { + if err := encodeError(ctx, w, err); err != nil { + errhandler(ctx, w, err) + } + } else { + if f, ok := w.(http.Flusher); ok { + f.Flush() + } + panic(http.ErrAbortHandler) // too late to write an error + } + } + return + } // handle immediate read error like a returned error buf := bufio.NewReader(o.Body) if _, err := buf.Peek(1); err != nil && err != io.EOF { diff --git a/upload_download/gen/http/updown/server/types.go b/upload_download/gen/http/updown/server/types.go index d67c5e35..581cda1f 100644 --- a/upload_download/gen/http/updown/server/types.go +++ b/upload_download/gen/http/updown/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // updown HTTP server types // diff --git a/upload_download/gen/updown/client.go b/upload_download/gen/updown/client.go index 9eb92855..f156bddd 100644 --- a/upload_download/gen/updown/client.go +++ b/upload_download/gen/updown/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // updown client // diff --git a/upload_download/gen/updown/endpoints.go b/upload_download/gen/updown/endpoints.go index 807ce28f..bf7d4609 100644 --- a/upload_download/gen/updown/endpoints.go +++ b/upload_download/gen/updown/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // updown endpoints // diff --git a/upload_download/gen/updown/service.go b/upload_download/gen/updown/service.go index 99130981..74e978d6 100644 --- a/upload_download/gen/updown/service.go +++ b/upload_download/gen/updown/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.16.2, DO NOT EDIT. +// Code generated by goa v3.17.0, DO NOT EDIT. // // updown service // @@ -33,6 +33,10 @@ type Service interface { // Upload implements upload. Upload(context.Context, *UploadPayload, io.ReadCloser) (err error) // Download implements download. + + // If body implements [io.WriterTo], that implementation will be used instead. + // Consider [goa.design/goa/v3/pkg.SkipResponseWriter] to adapt existing + // implementations. Download(context.Context, string) (res *DownloadResult, body io.ReadCloser, err error) } diff --git a/upload_download/go.mod b/upload_download/go.mod index cc15551e..db5f21cf 100644 --- a/upload_download/go.mod +++ b/upload_download/go.mod @@ -2,19 +2,18 @@ module goa.design/examples/upload_download go 1.21.1 -require goa.design/goa/v3 v3.16.2 +require goa.design/goa/v3 v3.17.0 require ( github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 // indirect - github.com/go-chi/chi/v5 v5.0.12 // indirect + github.com/go-chi/chi/v5 v5.1.0 // indirect github.com/google/uuid v1.6.0 // indirect - github.com/gorilla/websocket v1.5.1 // indirect + github.com/gorilla/websocket v1.5.3 // indirect github.com/manveru/faker v0.0.0-20171103152722-9fbc68a78c4d // indirect github.com/sergi/go-diff v1.3.1 // indirect - golang.org/x/mod v0.17.0 // indirect - golang.org/x/net v0.25.0 // indirect + golang.org/x/mod v0.18.0 // indirect golang.org/x/sync v0.7.0 // indirect - golang.org/x/text v0.15.0 // indirect - golang.org/x/tools v0.21.0 // indirect + golang.org/x/text v0.16.0 // indirect + golang.org/x/tools v0.22.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/upload_download/go.sum b/upload_download/go.sum index 3fb8b89f..dd2b4cb6 100644 --- a/upload_download/go.sum +++ b/upload_download/go.sum @@ -3,12 +3,12 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 h1:MGKhKyiYrvMDZsmLR/+RGffQSXwEkXgfLSA08qDn9AI= github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598/go.mod h1:0FpDmbrt36utu8jEmeU05dPC9AB5tsLYVVi+ZHfyuwI= -github.com/go-chi/chi/v5 v5.0.12 h1:9euLV5sTrTNTRUU9POmDUvfxyj6LAABLUcEWO+JJb4s= -github.com/go-chi/chi/v5 v5.0.12/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= +github.com/go-chi/chi/v5 v5.1.0 h1:acVI1TYaD+hhedDJ3r54HyA6sExp3HfXq7QWEEY/xMw= +github.com/go-chi/chi/v5 v5.1.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= -github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= +github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg= +github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= @@ -26,18 +26,16 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -goa.design/goa/v3 v3.16.2 h1:EwsYmtyhx4bmKjQ/+150nF26DIB5NjgYZyJq6Cg2jxA= -goa.design/goa/v3 v3.16.2/go.mod h1:YAY4TIUGlQH0Rj9AWtAyPktH3WLGWRaGxi3P19RvGXU= -golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= -golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= +goa.design/goa/v3 v3.17.0 h1:J+JUCLRh1rZXXYHtc3/ZrxqLAk3uVMwfWIKIRx+cIOU= +goa.design/goa/v3 v3.17.0/go.mod h1:MXpGAWGsIn2BVTRzB6Q3n1GzxgeVKXshZrh5+1eUz6Q= +golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0= +golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/tools v0.21.0 h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw= -golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= +golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= +golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= +golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA= +golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=