Releases: mukezhz/geng
Releases · mukezhz/geng
Release v0.7.3
refactor: remove unused env
Release v0.7.2
Merge pull request #13 from wesionaryTEAM/main refactor: service and infra code
Release v0.7.1
Merge pull request #12 from wesionaryTEAM/main refactor code
Release v0.7.0
Release Note:
- resolved issue for windows os
- add fx config generation by reading comment
geng fx
On providing service:
package service
type CognitoAdapter struct{}
// @fxProvide
// @fxAs outgoing.AuthHandler
func NewCognitoAdapter() *CognitoAdapter {
return &CognitoAdapter{}
}
type FirebaseAdapter struct{}
// @fxProvide
func NewFirebaseAdapter() *FirebaseAdapter {
return &FirebaseAdapter{}
}
Generated fx module:
package service
import "go.uber.org/fx"
// This file is generated by geng. DO NOT EDIT.
var Service = fx.Module("service",
fx.Provide(fx.Annotate(NewCognitoAdapter, fx.As(new(outgoing.AuthHandler)))),
fx.Provide(NewFirebaseAdapter),
)
Release v0.6.4
feat: invoke RegisterRoute instead of invoking NewRoute in module refactor: change names of controller, service, route, module inside a domain
Release v0.6.3
Merge pull request #9 from mukezhz/feature/stop-scaffold-on-interrupt feat: stop generating scaffold when interrupt occur
Release v0.6.2
Merge pull request #8 from mukezhz/feature/align-to-wesionary-template Feature/align to wesionary template
Release v0.6.1
Merge pull request #8 from mukezhz/feature/align-to-wesionary-template Feature/align to wesionary template
Release v0.6.0
Merge pull request #7 from mukezhz/feature/add-infra-service feat: add support to generate infrastructure and inject the provider …
Release v0.5.5
fix: don't allow extra new line to be added when service is injected