Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zitryss/go-sample

Go Project Sample Layout
https://github.com/zitryss/go-sample

Last synced: about 2 months ago
JSON representation

Go Project Sample Layout

Awesome Lists containing this project

README

        

# go-sample

[![Build Status](https://travis-ci.org/zitryss/go-sample.svg?branch=master)](https://travis-ci.org/zitryss/go-sample)
[![codecov](https://codecov.io/gh/zitryss/go-sample/branch/master/graph/badge.svg)](https://codecov.io/gh/zitryss/go-sample)
[![Go Report Card](https://goreportcard.com/badge/github.com/zitryss/go-sample)](https://goreportcard.com/report/github.com/zitryss/go-sample)
[![License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://github.com/zitryss/perfmon/blob/master/LICENSE)

A sample layout for Go application projects with the real code.

## Where it all comes from?

Ideas used to create the architecture and structure:
* [The Clean Architecture](http://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html)
* [DDD, Hexagonal, Onion, Clean, CQRS, … How I put it all together](https://herbertograca.com/2017/11/16/explicit-architecture-01-ddd-hexagonal-onion-clean-cqrs-how-i-put-it-all-together/)
* [Clean Architecture using Golang](https://medium.com/@eminetto/clean-architecture-using-golang-b63587aa5e3f)
* [Applying The Clean Architecture to Go applications](https://manuel.kiessling.net/2012/09/28/applying-the-clean-architecture-to-go-applications/)
* [Standard Package Layout](https://medium.com/@benbjohnson/standard-package-layout-7cdbc8391fc1)
* [How Do You Structure Your Go Apps](https://youtu.be/oL6JBUk6tj0)
* [How I write Go HTTP services after seven years](https://medium.com/statuscode/how-i-write-go-http-services-after-seven-years-37c208122831)

## Requirements

* [git](https://git-scm.com/)
* [docker](https://www.docker.com/)

## Installation

```
git clone https://github.com/zitryss/perfmon.git
```

## Usage

```
docker-compose up --build
```