Skip to content

Golang (Go Programming Language) microservice with Apache Thrift and Gin Framework

License

Notifications You must be signed in to change notification settings

dynastymasra/GoGinThrift

Repository files navigation

Go Microservice with Gin Framework and Apache Thrift

Go Gin Thrift License

Golang (Go Programming Language) microservice with Apache Thrift and Gin Framework.

Install

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 github.com/gin-gonic/gin
  • 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

About

Golang (Go Programming Language) microservice with Apache Thrift and Gin Framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published