Discover Packages
github.com/liushuangls/go-server-template
command
module
Version:
v0.0.0-...-f4ed437
Opens a new window with list of versions in this module.
Published: Jan 21, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
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@latest
gonew github.com/liushuangls/go-server-template your.domain/myprog
// run
cd myprog
cp configs/example.yaml configs/local.yaml
make generate
go mod download
make run
Features
wire - injects dependencies
ent - database orm
echo - router
koanf - config manager
and so on...
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.