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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cors/dsl/cors.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
//
// Example:
//
// import cors "goa.design/plugins/v3/cors"
// import cors "goa.design/plugins/v3/cors/dsl"
//
// var _ = API("calc", func() {
// cors.Origin("http://swagger.goa.design", func() { // Define CORS policy, may be prefixed with "*" wildcard
Expand Down
12 changes: 6 additions & 6 deletions model/dsl/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
//
// Example:
//
// import . "goa.design/plugins/v3/model"
// import . "goa.design/plugins/v3/model/dsl"
//
// var _ = API("calc", func() {
// Model("goa.design/model/examples/basic/model", "calc")
Expand All @@ -34,7 +34,7 @@ func Model(path, systemName string) {
//
// Example:
//
// import . "goa.design/plugins/v3/model"
// import . "goa.design/plugins/v3/model/dsl"
//
// var _ = API("calc", func() {
// Model("goa.design/model/examples/basic/model", "calc")
Expand All @@ -52,7 +52,7 @@ func ModelContainerFormat(format string) {
//
// Example:
//
// import . "goa.design/plugins/v3/model"
// import . "goa.design/plugins/v3/model/dsl"
//
// var _ = API("calc", func() {
// Model("goa.design/model/examples/basic/model", "calc")
Expand All @@ -70,7 +70,7 @@ func ModelExcludedTags(tags ...string) {
//
// Example:
//
// import . "goa.design/plugins/v3/model"
// import . "goa.design/plugins/v3/model/dsl"
//
// var _ = API("calc", func() {
// Model("goa.design/model/examples/basic/model", "calc")
Expand All @@ -86,7 +86,7 @@ func ModelComplete() {
//
// Example:
//
// import . "goa.design/plugins/v3/model"
// import . "goa.design/plugins/v3/model/dsl"
//
// var _ = API("calc", func() {
// Service("adder", func() {
Expand All @@ -108,7 +108,7 @@ func ModelContainer(name string) {
//
// Example:
//
// import . "goa.design/plugins/v3/model"
// import . "goa.design/plugins/v3/model/dsl"
//
// var _ = API("calc", func() {
// Service("adder", func() {
Expand Down
Loading