Collection of plugins to goa micro-services framework
Get source
go get -u github.com/yngveh/goa-plugins
This plugin will setup logrus as logging framework when generating example code with
goa example github.com/user/project/design
To active the logrus plugin add the following to the design go file
package design
import (
// Activate logrus plugin
_ "github.com/yngveh/goa-plugins/logrus"
. "goa.design/goa/v3/dsl"
)
var _ = API(........
This plugin puts controller files into the directory controllers instead of project root when doing goa example generating
To active the logrus plugin add the following to the design go file
package design
import (
// Activate controllers plugin
_ "github.com/yngveh/goa-plugins/controllers"
. "goa.design/goa/v3/dsl"
)
var _ = API(........