Skip to content
This repository was archived by the owner on Apr 24, 2023. It is now read-only.

qimpl/go-api-template

Repository files navigation

APP_NAME API

API Documentation

Swagger API documentation can be found at /v1/swagger

Getting started

You need to execute config.sh before any action on this template. This script take one arg that is the project name.

$ ./config.sh my-super-api

After that, you can run make init to copy all configuration files, then you can run docker-compose up.

Tests

Run tests using the Make recipe test

$ make test

To add verbosity to go test command

$ make test VERBOSE=-v

Code Quality

Your commits names should follow the @commitlint/config-conventional rules.

Check and fix your code using:

$ make coding-style

Pre-commit

Install pre-commit following the official documentation

Setup your pre-commit hooks using:

# pre-commit hooks
$ pre-commit install

# message commit hooks
$ pre-commit install --hook-type commit-msg

For additional information check pre-commit docs

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •