examples

command
v0.0.0-...-5d963cc Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

README

Examples

Cassandra

CONFIG=./your_config.yml DEBUG=true go run ./cassandra.go

Documentation

Overview

Package main is a boilerplate for JSON based microservices. This documentation should reflect the scope of the service.

Microservices are a collection of loosely coupled services, all functionality within this single source file should reflect that.

Encapsulate complex business logic into shareable libraries abstracted away from the service implementation expressed in the source below.

Simple business logic may be implemented here if it adds little or no significant complexity or limits readability or the surrounding source

Compile with -tags=jsoniter for faster json performance. https://github.com/gin-gonic/gin#build-with-jsoniter

txn2.com

Jump to

Keyboard shortcuts

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