🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

github.com/bygui86/golang-practical-programming-tutorial

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/bygui86/golang-practical-programming-tutorial

v0.0.0-20200910160807-a158600c84db
Source
Go
Version published
Created
Source

GoLang tutorials

If you are creating a Go application that will not have subpackages, you can develop the code anywhere on your filesystem. However, since this application (and most other apps you will develop) will use subpackages, your code must live in your GOPATH folder.

Topics

Basic

  • hello world
  • variables
  • constants
  • functions
  • pointers
  • struct
  • null check
  • methods
    • pointer receiver
    • value receiver
  • init method
  • packages
  • multiple-return
  • nested-import
  • types
  • type-defaults
  • type-conversion
  • float
  • math
  • if-else
  • switch
  • loops
  • data structures
    • array
    • slice
    • map
    • range
    • list
  • print
  • parsing
    • number
    • xml (web-server_v4.go, xml-parsing_v1.go, xml-parsing_v2.go, xml-parsing_v3.go)
    • html (web-server_v3.go)
    • json
    • url
  • web
    • server
    • client
  • sleep
  • shift
  • defer
  • panic
  • file
    • reading
    • writing
  • environment variable
    • get
    • set
  • logs
    • normal
    • level + format
    • to file
  • command line
    • arguments
    • flags
  • lambda
  • closures
  • variadic functions
  • interface
  • error
  • time
    • formatting
    • parsing
  • epoch
  • alias
  • strings
    • formatting
    • functions
    • concatenation
  • regular expressions
  • sha1 hashes
  • base64 encoding
  • sorting
  • sorting by functions
  • recursion
  • exit
  • casting
  • reflection
  • iota

Advanced

  • (unix) signals
  • timer & ticker
  • dynamic-type
  • type-assertion
  • enum
  • goroutines
    • pooling
    • rate limiting
    • atomic counters
    • mutex
    • stateful
  • channels
    • directions
    • buffering
    • synchronization
    • select
    • timeouts
    • non-blocking operations
    • closing
    • range over
  • spawning processes
  • exec'ing processes
  • modules (try go help modules)
    • https://github.com/golang/go/wiki/Modules
    • https://blog.golang.org/using-go-modules
    • https://roberto.selbach.ca/intro-to-go-modules/

Open topics

Advanced

Specific tecnologies

  • db
    • mysql > see this repo
    • cassandra > see this repo
    • mongodb
    • redis
    • solr
  • protocols
  • docker
  • logging
    • library
      • go-logging > see this folder
      • logger
      • logrus
      • klog
      • on-file
  • kubernetes
    • prometheus metrics
    • jaeger tracing
  • communication
  • testing
    • principles
    • moking
    • tools

Tools

Articles

Goroutines

Channels

Environment variables

Tutorials

Testing

Sync

Interface

Compisition

Reflection

Govendor

FAQs

Package last updated on 10 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts