Skip to content

wojciech11/workshop_golang

Repository files navigation

Golang Workshop

  1. Set up your workstation;

  2. Module 1 - basics 1/2 / introduction slides:

    • packages
    • go mod, go get, go build, go install
    • fmt, imports, linter
    • vars, consts
    • functions
    • data types
    • for, if, switch
    • pointers
    • structs
    • interfaces
    • arrays and slices
    • maps
    • methods
    • first basic web app with chi
  3. Module 2 - basics 2/2:

    • project structure
    • unit tests
    • errors and error handling
    • defer and panic
    • working with JSON
    • (file) io / Working with files
    • package net/http
    • second web app with chi
  4. Module 3 - building apps:

    • web app API
    • db access
    • observability
    • goreleaser
    • debugger
  5. Module 4 - intermediate:

    • CLI app with cobra
    • generics
    • goroutines
    • channels
  1. Module 5 - Advanced:

  2. Extras:

    • GraphQL API,
    • gRPC.

References