h3ar7dump / golang-hellowolrd

personal exercise project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Standard Go Project Layout

Overview

This is a basic helloworld golang web program , just for personal use. It would provide a GRPC,JSON,Swagger Web Interface.

Quick Start

Requirement

  • Golang 1.7

Compile and Run

Build

git clone https://github.com/yank1/golang-hellowolrd.git
cd golang-hellowolrd
make

Run

./bin/golang-hellowolrd

Access the Helloword by :

Run for develop

go run cmd/main.go

UnitTest

make test

Release

make release # build image and release

Run in Docker/Kubernetes

TODO

docker run *******
kubectl run ********

About

personal exercise project

License:Apache License 2.0


Languages

Language:TypeScript 42.8%Language:Go 24.1%Language:HTML 21.9%Language:Shell 6.3%Language:Makefile 4.8%