GolangCI-Lint

GolangCI-Lint is a linters aggregator. It’s fast: on average 5 times faster than gometalinter. It’s easy to integrate and use, has nice output and has a minimum number of false positives. It supports go modules. …

Official MongoDB Go Driver

Před pár dny byl oficiálně uvolněn MongoDB driver pro Go. Vyšel ve verzi 1.0.0 a dle autorů je Ready For Production Detail zde. Asi nejzásadnější noviky: change streams for fully-reactive, …

Go: co v binárce vlastně je…

Pokud vás trápí velikost binárky vaší Go aplikace, a rádi byste věděli co vše v ní je, pak zkuste goweight. package main import „fmt“ func main() { fmt.Println(„hello, World!“) }

Golang: měření času po druhé

Měřit čas provádění nějaké části bez debugování jsem popisoval už jednou tady, nicméně lze dělat třeba i takto: package main import ( „fmt“ „time“ ) func timeTrack(msg string, start time.Time) …