shine

shine is a library written in go to create api server applications

Usage
Download and install shine:
$ go get -u github.com/alandtsang/shine/cmd/shine
Use shine to automatically generate the project, pkg
is the name of the module, author
is the name in the copyright.
$ shine -pkg myproject -author Alan
2021/03/03 10:26:40 [Info] project path: /Users/alan/myproject
$ cd myproject
$ go mod vendor
$ make build
$ ./main
____ __
/ __/___/ / ___
/ _// __/ _ \/ _ \
/___/\__/_//_/\___/ v4.1.17
High performance, minimalist Go web framework
https://echo.labstack.com
____________________________________O/_______
O\
⇨ http server started on [::]:8080
Execute in another terminal:
$ curl http://127.0.0.1:8080
"hello"
Help Command
$ shine -h
Usage of shine:
-author string
author name (default "YourName")
-pkg string
package name (default "myproject")