Skip to content

Latest commit

 

History

History
58 lines (44 loc) · 980 Bytes

README.md

File metadata and controls

58 lines (44 loc) · 980 Bytes

gostar

a generator for stargo

Installation

go install  github.com/starfork/gostar@latest

Usage

Set DB env info in .env.development or just by os.Args

example:

gostar gen|new -n=test -pfx=test_

If no error occurr you'll get this folders(files)


├── Makefile
├── cmd
│   └── main.go  
├── config
│   └── debug.json
├── internal
│   ├── codes
│   ├── consts
│   ├── logic
│   ├── repository
│   │   ├── mysql
│   │   └── repository.go
│   └── server
│       ├── handler.go
│       └── server_config.go
└── pkg
    ├── pb
    └── proto

Notice

It suposed your working dir like this below

├── apps # gateway - implementation of service
│   ├── app1
│   ├── app2
├── service # your services
│   ├── service1
│   ├── service2
├── go.work