leonardo403 / groadmap

rodmap go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Português

The intent of this guide is to give you an idea about the Go ecosystem and help guide your learning if you are confused. It is mainly focused on presenting the tools and concepts used in web development. Feel free to send comments

  • suggestions or even a PR improving at some point.

I will be super happy to know that you would like to collaborate or that we helped in some way in your formation when it comes to Go.

Go Roadmap

Roadmap Go

Roadmap Go

This browser does not support PDFs. Please download the PDF to view it: Download PDF.

Sumary

  1. Basic & Intermediate Concepts

    • generics / [T any](s []T)
    • constants
    • variables
    • iota
    • func init
    • types
    • funcs
    • variadic
    • return multiples values
    • closures/anonymous functions
    • array
    • slice
    • for
    • switch
    • if
    • else
    • range
    • make
    • new
    • maps
    • pointers
    • structs
    • methods
    • type interface
    • interface{}
    • defer
    • error
    • panic
    • recover
  2. Goroutines

  3. Runtime

  4. go

    • go test

      • go test -v
      • go test -run ^NameFunc$
      • go test -coverprofile
      • go test ../../
      • go test -bench . -benchmem
      • go test -fuzz=Fuzz
    • go build & go run .

      • go run .
      • go run -race .
      • CGO_ENABLED=0 go build
      • go build -ldflags="-s -w"
      • go build -gcflags '-m -l'
      • GOOS=linux GOARCH=amd64 go build
      • go build GOARCH=wasm GOOS=js go build
      • go build -gcflags -S
      • go help buildmode
      • go build -buildmode=plugin
    • go install golang.org/x/website/tour@latest

  5. Modulos

    • package & import

      • import ..
      • import "fml"
      • import "my-pkg/util"
      • package mypkg
    • go.mod

    • go.sum

    • go mod init

    • go mod tidy

    • go mod vendor

    • go mod download

    • go env

    • GO111MODULE=on

    • GOARCH=amd64

    • GOPRIVATE

    • GOPROXY

    • GOSUMDB

  6. Patterns

    • Build
    • Factory Method
    • Abstract Factory
    • Adapter
    • Bridge
    • Facade
    • Composite
    • Decorator
    • Prototype
    • Singleton
    • Template Method
  7. fasthttp

  8. net/http

  9. Previous Knowledge

About

rodmap go

License:MIT License