go-server-template

command module
v0.0.0-...-f4ed437 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2026 License: MIT Imports: 2 Imported by: 0

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...
    • jwt
    • ...

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
dto
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL