golang

module
v0.0.0-...-28eb193 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT

README

example api (Go)

Provides an Example API environment using docker-compose.

Quick Start

Advance preparation
Install Docker
Cert Files

Get viron.crt, viron.csr and viron.key files and place them under the example/[lang]/cert directory.

.env
cp -ip .env.template .env

and, put secrets of your project.

Run
Use MySQL
docker-compose -f ./docker-compose.example-golang.mysql.yml up
Use Mongo
docker-compose -f ./docker-compose.example-golang.mongo.yml up

Directories

Path Synopsis
pkg
components
Package components provides primitives to interact with the openapi HTTP API.
Package components provides primitives to interact with the openapi HTTP API.
root
Package root provides primitives to interact with the openapi HTTP API.
Package root provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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