Skip to content

simple and customizable scaffold generator with go template.

License

Notifications You must be signed in to change notification settings

ArthurKC/foundry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

foundry

Simple and customizable scaffold generator as if pouring molten material into a mold in the foundry.

feature

  • easy
    • can generate molds from existed sources
    • can use in any micro usecases quickly
    • need know "go template" only
    • can customize the molds same as source
    • can alias to minimize key stroke
  • simple
    • need only few meta files

usage

To create scaffold by interactive mode

> foundry material pour_into molds/cleanArchitecture/aggregationRoot destDir
Project: Full name identifing the project in the world. e.g. github.com/ArthurKC/foundry
Project?: github.com/ArthurKC/spiral
Name: The aggregation root name. It must be lower camel case.
Name?: user
created destDir/adapters/user/on_memory_repository.go
created destDir/domain/user/id.go
created destDir/domain/user/repository.go
created destDir/domain/user/user.go

About

simple and customizable scaffold generator with go template.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages