Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liushuangls/go-server-template
golang web server template
https://github.com/liushuangls/go-server-template
gin golang http-server
Last synced: about 1 month ago
JSON representation
golang web server template
- Host: GitHub
- URL: https://github.com/liushuangls/go-server-template
- Owner: liushuangls
- License: mit
- Created: 2023-02-23T02:45:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-20T09:22:42.000Z (3 months ago)
- Last Synced: 2024-09-28T18:09:42.485Z (about 2 months ago)
- Topics: gin, golang, http-server
- Language: Go
- Homepage:
- Size: 244 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Introduction
An easy to use, easy to maintenance template.
This template layout reference: https://go.dev/doc/modules/layout
# Use
```
// install
go install golang.org/x/tools/cmd/gonew@latestgonew github.com/liushuangls/go-server-template your.domain/myprog
// run
cd myprogcp configs/example.yaml configs/local.yaml
make install
make generate
make run
```# Features
- wire - injects dependencies
- ent - database orm
- gin - router
- viper - config manager
- and so on...
- jwt
- ...