Just some tips I found useful

Go

Golang

Tracking memory leak

Build with tags

From https://www.digitalocean.com/community/tutorials/customizing-go-binaries-with-build-tags

File pro.go:

// +build pro
package main
func init(){
    features = append(features,
    Feat1,
    Feat2,
    )
}

Build using tags: go build -tags "pro" .

Last updated on Monday, January 4, 2021
Published on Monday, January 4, 2021