sqlx-xo-example

command module
v0.0.0-...-0bc3f44 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2022 License: MIT Imports: 9 Imported by: 0

README

sqlx-xo-example

Go + sqlx + xo のお試しリポジトリ

go version
1.19 darwin/amd64

mysql version
8.0

docker version
20.10.17

docker compose version
v2.7.0

Usage

docker compose build --no-cache
// develop environment
docker compose up

// production environment
docker build --target production -t go-app:latest . -f docker/backend/Dockerfile

curl http://localhost:8000/

description

  • 開発環境ではホットリロード対応
  • 本番環境用イメージは軽量イメージを使用

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
src
api
models
Package models contains generated code for schema 'sqlx_xo'.
Package models contains generated code for schema 'sqlx_xo'.

Jump to

Keyboard shortcuts

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