Skip to content
/ minimalgo Public template

Minimal go REST API project

License

Notifications You must be signed in to change notification settings

blankdots/minimalgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal Golang Project

Go Report Card Go Unit Tests Go style check Coverage Status

An example of a minimal Golang project that contains an web application built with fiber.

At the same time the project exemplifies:

  • fiber server;
  • logging formatting;
  • unit tests;
  • github-actions and coveralls integration;

Install and Run

Installation can be done:

  • cloning repository:
$ git clone git@github.com:blankdots/minimalgo.git
$ cd minimalgo
$ pip install .

After install the application can be started like: $ minimalgo

Tests and Documentation

In order to run the tests: $ go test -v ./... in the root directory of the git project.

Structure

.
├── api
│   ├── api.go
│   └── health_test.go
├── coverage.txt
├── Dockerfile
├── go.mod
├── go.sum
├── LICENSE
├── main.go
├── minimalgo
├── README.md
└── utils
    └── utils.go

License

minimal go and all it sources are released under Apache License 2.0.