Categorygithub.com/Seifbarouni/go-create
repository
1.2.1
Repository: https://github.com/seifbarouni/go-create.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

go-create

License Build
go-create is a tool that helps me create my apps (console apps, back-end web apps, full-stack web apps).

Build

You need to have Golang v1.17.5+ to be able to build this project.

./build.sh

Usage

go-create web -t=<backend or fullstack> <folder-name>
go-create db <file-name>
go-create model <file-name>
go-create service <model-name>

Examples

# creates the project in the current directory
go-create cli .
# creates the project in the directory test
go-create cli test
# creates a web app
go-create web -t=backend test
# creates a database file with postgres config in the current directory
go-create db database
# creates a crud service (articlesService.go) using the model Article
go-create service Article

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.