foundry

command module
v0.0.0-...-994a6d8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2020 License: MIT Imports: 1 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
pkg
domains/mold
Package mold is a generated GoMock package.
Package mold is a generated GoMock package.
usecases/mold
Package mold is a generated GoMock package.
Package mold is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL