ocg-poc

module
v0.0.0-...-b3b36fe Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2018 License: GPL-3.0

README

Build Status Go Report Card

ocg-poc

Welcome to OCG. This is just a proof of concept.

Setup

Install dependencies for development
go get -u github.com/alecthomas/gometalinter
go get -u github.com/golang/dep/cmd/dep
go get -u github.com/matryer/moq
go get -u golang.org/x/tools/cmd/goimports
Install gometalinter linters
gometalinter --install
Install dependencies for production (e.g. those used as imports)
dep ensure

First Steps

Run tests
go test -v -cover ./...
Exeute gometalinter for all dirs
gometalinter --config=.gometalinter.json `find . -not -path "./vendor" -not -path "./vendor/*" -type d`
Execute main command
go run cmd/ocg-rest-server/main.go

Directories

Path Synopsis
cmd
ocg-rest-server
The ocg-rest-server serves the OCG Rest-API =)
The ocg-rest-server serves the OCG Rest-API =)
Package domain contains the domain model and enterprise business rules.
Package domain contains the domain model and enterprise business rules.
ocg
io
Package io contains other packages that implement all relevant gateways, presenters, controllers and other interface adapters.
Package io contains other packages that implement all relevant gateways, presenters, controllers and other interface adapters.
rest/design
Package design holds a goa design (https://goa.design/) which specifies the OCG REST-API.
Package design holds a goa design (https://goa.design/) which specifies the OCG REST-API.
Package usecase contains other packages that implement all relevant use cases (i.e.
Package usecase contains other packages that implement all relevant use cases (i.e.

Jump to

Keyboard shortcuts

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