Help us shape the future of Go! Take the 2026 Go Developer Survey

scaffold

package module
v1.27.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2026 License: MIT Imports: 0 Imported by: 0

README

This project is generated from template t-ddd-fiber-gorm.

This project includes a .go-version file. We recommend using goenv to manage multiple Go versions and automatically select the version required by this project.

After installing and configuring goenv, install the project-specific Go version:

goenv install "$(cat .go-version)"
go version

When you enter the project directory, goenv reads .go-version and switches to the matching Go version automatically.

2. Use make.

  • Use make to build swagger documents.
make doc
  • Use make to run your project.
make run

make run env=local
  • Use make to wire dependency injection
make wire
  • Use make to generate all.
make gen

3. Run and access http://127.0.0.1:8080/swagger

4. Delete file PLEASE_DELETE_ME.go and fix your code.

5. Create a new git repository of the command line:

git init
git add -A
git commit -m "init commit"
git branch -M main
git remote add origin git@github.com:<org-name>/<app-name>.git
git push -u origin main

  • How to use gonew template?

1. Install gonew.
go install golang.org/x/tools/cmd/gonew@latest
2. Use this template to create your project.
mkdir <app-name> && \
gonew github.com/loopopen/t-ddd-fiber3-gorm@<version> github.com/<org-name>/<app-name> ./<app-name>

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HAVE_NOT_BEEN_DELETED_YET = true

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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