Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

yngveh/goa-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goa plugins

Collection of plugins to goa micro-services framework

Overview

Usage

Get source

go get -u github.com/yngveh/goa-plugins

logrus plugin

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(........

controllers plugin

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(........

About

Set of GOA plugins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published