Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dynastymasra/golangthrift

Golang (Go Programming Language) microservice with Apache Thrift
https://github.com/dynastymasra/golangthrift

Last synced: about 2 months ago
JSON representation

Golang (Go Programming Language) microservice with Apache Thrift

Awesome Lists containing this project

README

        

# Go with Apache Thrift

[![Go](https://img.shields.io/badge/Go-1.4-00E5E6.svg)](https://golang.org/)
[![Thrift](https://img.shields.io/badge/Apache%20Thrift-0.9.3-yellow.svg)](https://thrift.apache.org/)
[![License](https://img.shields.io/badge/license-MIT-44897A.svg)](https://github.com/dynastymasra/GolangThrift/blob/master/LICENSE)

Golang (Go Programming Language) microservice with Apache Thrift

#### Install
* Golang (Go Programming Language) Golang
* Apache Thrift Apache Thrift

#### Generate Thrift
* thrift --gen go filename.thrift

#### Golang workspaces
* bin/
* pkg/
* src/

#### GOPATH environment variable
* $ export GOPATH=workspaces
* $ export PATH=$PATH:$GOPATH/bin

#### Import library
* go get git.apache.org/thrift.git/lib/go/thrift/...
* go build github.com/dynastymasra/package_name or library_name < This won't produce an output file
* go install github.com/dynastymasra/package_name or library_name