Help us shape the future of Go! Take the 2026 Go Developer Survey

scaffold

command module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2017 License: MIT Imports: 8 Imported by: 0

README

scaffold

Build Status Coverage Status MIT License Version

Usage

Example

.scaffold

$ tree .scaffold
.scaffold
├── command
│   ├── app
│   │   └── cmd
│   │       ├── {{name}}.go
│   │       └── {{name}}_test.go
│   └── meta.toml
└── usecase
    ├── app
    │   └── usecase
    │       ├── {{name}}.go
    │       └── {{name}}_test.go
    └── meta.toml

$ scaffold g command destroy
       exist  .
       exist  app/cmd
      create  app/cmd/destroy.go
      create  app/cmd/destroy_test.go

$ ls app/cmd/destroy*
app/cmd/destroy.go
app/cmd/destroy_test.go
Available filters
  • toUpper
  • toLower
  • camelizer
  • pascalize
  • underscore
  • dasherize

Development

# install dependencies
$ make deps

# build
$ make build

# run lint and test
$ make test

License

Licensed under MIT License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
app
cmd
ui
domain
fs

Jump to

Keyboard shortcuts

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