go-fun

Actions Status codecov GitHub release (latest by date) GitHub tag (latest by date) Go Report Card

Go Fun

Experiments & Fun with Go Lang and its Frameworks. Also includes tools like docker, k8, istio, observability, and perf.

Build

Use goreleaser for build test. Install if not already installed

goreleaser build –snapshot –rm-dist goreleaser release –snapshot –skip-publish –rm-dist

Testing

Testing is handled via Ginkgo. To run all unit tests excluding ones require external setup.

ginkgo -r '--label-filter=!setup' .

FunApp

Sample Funapp which is rest based app with various tools and tests required as sample.

By default it runs without any dependencies with in memory sqlite3 database which can be configured via ENV Variables.


Direct Run

go run ./components/fun-app/


Vscode Run


Docker Run

docker run amanfdk/fun-app
Docker Hub

K8/Istio Run

Install via Helm Coming Soon …

TODO