geng

Generate Golang Project CLI

MIT License

Stars
52

Bot releases are visible (Hide)

geng - Release v0.7.3 Latest Release

Published by github-actions[bot] 5 months ago

geng - Release v0.7.2

Published by github-actions[bot] 5 months ago

geng - Release v0.7.1

Published by github-actions[bot] 6 months ago

geng - Release v0.7.0

Published by github-actions[bot] 6 months ago

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),
)
geng - Release v0.6.4

Published by github-actions[bot] 9 months ago

geng - Release v0.6.3

Published by github-actions[bot] 9 months ago

geng - Release v0.6.2

Published by github-actions[bot] 9 months ago

geng - Release v0.6.1

Published by github-actions[bot] 9 months ago

geng - Release v0.6.0

Published by github-actions[bot] 9 months ago

geng - Release v0.5.5

Published by github-actions[bot] 10 months ago

geng - Release v0.5.4

Published by github-actions[bot] 10 months ago

geng - Release v0.5.3

Published by github-actions[bot] 10 months ago

geng - Release v0.5.2

Published by github-actions[bot] 10 months ago

geng - Release v0.5.1

Published by github-actions[bot] 10 months ago

geng - Release v0.5.0

Published by github-actions[bot] 10 months ago

Release Note:

  • added new command geng add infra to select the infrastructure like gcp, firebase, gmail...
geng - Release v0.4.2

Published by github-actions[bot] 10 months ago

geng - Release v0.4.1

Published by github-actions[bot] 10 months ago

geng - Release v0.4.0

Published by github-actions[bot] 11 months ago

geng - Release v0.3.6

Published by github-actions[bot] 11 months ago

Release Note:

  • change .tmpl file to .go file
  • remove redundant copying file from .tmpl to .go
geng - Release v0.3.5

Published by github-actions[bot] 11 months ago