peterlamar / go-examples

Collection of Go examples for beginner back end developers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-workshop

Collection of golang reference examples for teaching and learning golang. These examples assume no experience with backend and avoid complex tooling. Golang is an excellent language that is simple yet incredibly powerful and fast. Its useful for any new development as it makes devops a breeze (compiles to a single executable) and avoids the tooling and framework issues of other languages (you can get started with just the language and the standard library, vs having to learn tooling and frameworks that are required with many languages).

Golang

These examples are pure golang exercises

  1. Simple REST api
  2. RPC
  3. Timing
  4. Gin Swagger
  5. Google Drive

Golang + Docker

These integrate with other components such as databases, stood up with docker containers.

  1. Redis
  2. db-cache
  3. sqltesting
  4. Hello Casandra

Golang + Docker + Kubernetes

These interact with Kubernetes as well as Docker. Local Minikube or a cloud hosted kubernetes can be used for this exercise.

  1. 2-tier Kubernetes web app

Misc Links

  1. Effective Go - Basic reference for Golang
  2. Code Review Comments - Extra supplement comments

About

Collection of Go examples for beginner back end developers


Languages

Language:Go 98.7%Language:Groovy 0.6%Language:Dockerfile 0.6%Language:Shell 0.1%