diff --git a/go.mod b/go.mod index a5e6240..ac68601 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.21.0 require ( github.com/ikawaha/httpcheck v1.12.3 - goa.design/goa/v3 v3.17.2 + goa.design/goa/v3 v3.18.0 ) require ( diff --git a/go.sum b/go.sum index de49619..52e992f 100644 --- a/go.sum +++ b/go.sum @@ -21,8 +21,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= 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.17.2 h1:6gvagmpenehLMG5kFY7f2ICtdv8BCZYD5fNvEQOUkJo= -goa.design/goa/v3 v3.17.2/go.mod h1:XGtcMVtLZ7yU8M3kumbpw/YCXoOYz7nUC7zaIAoRZ1Q= +goa.design/goa/v3 v3.18.0 h1:rrayPNsJg8WEmgSzS+FFCO9Fv5VtTQ45Oh5rbfE/+4U= +goa.design/goa/v3 v3.18.0/go.mod h1:jS66/I2PCh9MPwXtFY8vWb4pGQDYz3qVK3TjjvRLEUM= 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/testdata/gen/calc/client.go b/testdata/gen/calc/client.go index 5151ebf..1821d68 100644 --- a/testdata/gen/calc/client.go +++ b/testdata/gen/calc/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.17.2, DO NOT EDIT. +// Code generated by goa v3.18.0, DO NOT EDIT. // // calc client // diff --git a/testdata/gen/calc/endpoints.go b/testdata/gen/calc/endpoints.go index 0ec25e6..3571abe 100644 --- a/testdata/gen/calc/endpoints.go +++ b/testdata/gen/calc/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.17.2, DO NOT EDIT. +// Code generated by goa v3.18.0, DO NOT EDIT. // // calc endpoints // diff --git a/testdata/gen/calc/service.go b/testdata/gen/calc/service.go index 76fbc29..eddc2b0 100644 --- a/testdata/gen/calc/service.go +++ b/testdata/gen/calc/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.17.2, DO NOT EDIT. +// Code generated by goa v3.18.0, DO NOT EDIT. // // calc service // diff --git a/testdata/gen/calc/views/view.go b/testdata/gen/calc/views/view.go new file mode 100644 index 0000000..fae2b0d --- /dev/null +++ b/testdata/gen/calc/views/view.go @@ -0,0 +1,20 @@ +// Code generated by goa v3.18.0, DO NOT EDIT. +// +// calc views +// +// Command: +// $ goa gen calc/design + +package views + +// EmptyView is a type that runs validations on a projected type. +type EmptyView struct { +} + +var () + +// ValidateEmptyView runs the validations defined on EmptyView. +func ValidateEmptyView(result *EmptyView) (err error) { + + return +} diff --git a/testdata/gen/http/calc/client/cli.go b/testdata/gen/http/calc/client/cli.go index 50e9df5..1719211 100644 --- a/testdata/gen/http/calc/client/cli.go +++ b/testdata/gen/http/calc/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.17.2, DO NOT EDIT. +// Code generated by goa v3.18.0, DO NOT EDIT. // // calc HTTP client CLI support package // diff --git a/testdata/gen/http/calc/client/client.go b/testdata/gen/http/calc/client/client.go index ac5602c..c336a0d 100644 --- a/testdata/gen/http/calc/client/client.go +++ b/testdata/gen/http/calc/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.17.2, DO NOT EDIT. +// Code generated by goa v3.18.0, DO NOT EDIT. // // calc client HTTP transport // diff --git a/testdata/gen/http/calc/client/encode_decode.go b/testdata/gen/http/calc/client/encode_decode.go index 7f128d6..6ecf979 100644 --- a/testdata/gen/http/calc/client/encode_decode.go +++ b/testdata/gen/http/calc/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.17.2, DO NOT EDIT. +// Code generated by goa v3.18.0, DO NOT EDIT. // // calc HTTP client encoders and decoders // diff --git a/testdata/gen/http/calc/client/paths.go b/testdata/gen/http/calc/client/paths.go index de42661..1904697 100644 --- a/testdata/gen/http/calc/client/paths.go +++ b/testdata/gen/http/calc/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.17.2, DO NOT EDIT. +// Code generated by goa v3.18.0, DO NOT EDIT. // // HTTP request path constructors for the calc service. // diff --git a/testdata/gen/http/calc/client/types.go b/testdata/gen/http/calc/client/types.go index f69f1a4..fcff5fb 100644 --- a/testdata/gen/http/calc/client/types.go +++ b/testdata/gen/http/calc/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.17.2, DO NOT EDIT. +// Code generated by goa v3.18.0, DO NOT EDIT. // // calc HTTP client types // diff --git a/testdata/gen/http/calc/server/encode_decode.go b/testdata/gen/http/calc/server/encode_decode.go index 8faa7dc..3117fed 100644 --- a/testdata/gen/http/calc/server/encode_decode.go +++ b/testdata/gen/http/calc/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.17.2, DO NOT EDIT. +// Code generated by goa v3.18.0, DO NOT EDIT. // // calc HTTP server encoders and decoders // diff --git a/testdata/gen/http/calc/server/paths.go b/testdata/gen/http/calc/server/paths.go index 96767f6..a9cea9e 100644 --- a/testdata/gen/http/calc/server/paths.go +++ b/testdata/gen/http/calc/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.17.2, DO NOT EDIT. +// Code generated by goa v3.18.0, DO NOT EDIT. // // HTTP request path constructors for the calc service. // diff --git a/testdata/gen/http/calc/server/server.go b/testdata/gen/http/calc/server/server.go index 7a68f2c..68209be 100644 --- a/testdata/gen/http/calc/server/server.go +++ b/testdata/gen/http/calc/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.17.2, DO NOT EDIT. +// Code generated by goa v3.18.0, DO NOT EDIT. // // calc HTTP server // diff --git a/testdata/gen/http/calc/server/types.go b/testdata/gen/http/calc/server/types.go index 1d4da7f..3f77a9a 100644 --- a/testdata/gen/http/calc/server/types.go +++ b/testdata/gen/http/calc/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.17.2, DO NOT EDIT. +// Code generated by goa v3.18.0, DO NOT EDIT. // // calc HTTP server types // diff --git a/testdata/gen/http/cli/calc/cli.go b/testdata/gen/http/cli/calc/cli.go index 1e8cbfb..7b0fd1f 100644 --- a/testdata/gen/http/cli/calc/cli.go +++ b/testdata/gen/http/cli/calc/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.17.2, DO NOT EDIT. +// Code generated by goa v3.18.0, DO NOT EDIT. // // calc HTTP client CLI support package // diff --git a/testdata/go.mod b/testdata/go.mod index 97798c5..3e72bad 100644 --- a/testdata/go.mod +++ b/testdata/go.mod @@ -6,7 +6,7 @@ replace github.com/ikawaha/goahttpcheck => ../ require ( github.com/ikawaha/goahttpcheck v0.0.0-00010101000000-000000000000 - goa.design/goa/v3 v3.17.2 + goa.design/goa/v3 v3.18.0 ) require ( @@ -18,9 +18,9 @@ require ( github.com/ikawaha/httpcheck v1.12.3 // indirect github.com/itchyny/gojq v0.12.16 // indirect github.com/itchyny/timefmt-go v0.1.6 // indirect + github.com/kr/text v0.1.0 // indirect github.com/manveru/faker v0.0.0-20171103152722-9fbc68a78c4d // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/sergi/go-diff v1.3.1 // indirect github.com/stretchr/testify v1.9.0 // indirect golang.org/x/mod v0.19.0 // indirect golang.org/x/sync v0.7.0 // indirect diff --git a/testdata/go.sum b/testdata/go.sum index fd0d869..42355a4 100644 --- a/testdata/go.sum +++ b/testdata/go.sum @@ -1,4 +1,3 @@ -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 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= @@ -26,14 +25,10 @@ github.com/manveru/gobdd v0.0.0-20131210092515-f1a17fdd710b h1:3E44bLeN8uKYdfQqV github.com/manveru/gobdd v0.0.0-20131210092515-f1a17fdd710b/go.mod h1:Bj8LjjP0ReT1eKt5QlKjwgi5AFm5mI6O1A2G4ChI0Ag= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= -github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -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.17.2 h1:6gvagmpenehLMG5kFY7f2ICtdv8BCZYD5fNvEQOUkJo= -goa.design/goa/v3 v3.17.2/go.mod h1:XGtcMVtLZ7yU8M3kumbpw/YCXoOYz7nUC7zaIAoRZ1Q= +goa.design/goa/v3 v3.18.0 h1:rrayPNsJg8WEmgSzS+FFCO9Fv5VtTQ45Oh5rbfE/+4U= +goa.design/goa/v3 v3.18.0/go.mod h1:jS66/I2PCh9MPwXtFY8vWb4pGQDYz3qVK3TjjvRLEUM= golang.org/x/mod v0.19.0 h1:fEdghXQSo20giMthA7cd28ZC+jts4amQ3YMXiP5oMQ8= golang.org/x/mod v0.19.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= @@ -45,7 +40,5 @@ golang.org/x/tools v0.23.0/go.mod h1:pnu6ufv6vQkll6szChhK3C3L/ruaIv5eBeztNG8wtsI 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= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=