template-tanukistack

module
v0.0.0-...-c60c99b Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: MIT

README

Template of tanukistack

What is tanukistack?

Tanukistack is a template for the development of web application. This contains the following components:

How to use

Requirements
  • gonew command
$ go install golang.org/x/tools/cmd/gonew@latest
Create a new project
$ gonew github.com/mackee/template-tanukistack path/to/your/module ./your_directory
$ cd path/to/your/project
$ aqua i
Settings

.env file is required to run the application. Create a .env file in the root directory of the project and write the following contents.

$ echo 'DATABASE_DSN="postgres://user:password@localhost:5432/dbname?sslmode=disable"' > .env
Run the application
$ task dev
Run the test
$ task test

License

MIT

Directories

Path Synopsis
cmd
app command
Code generated by github.com/mackee/go-sqlla/v2/cmd/sqlla - DO NOT EDIT.
Code generated by github.com/mackee/go-sqlla/v2/cmd/sqlla - DO NOT EDIT.

Jump to

Keyboard shortcuts

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