GitLab CI Can Automatically Check Code Quality! How to Use SonarQube for Code Quality Checks? Go_GitLab_SonarQube_Example
Go
All posts
Be Alert: Supply Chain Attacks Are Closer Than You Think github.com/siruspen/logrus false github.com/sirupsen/logrus true
Learn gin Parameter Validation with the validator Library - This One Article Is Enough String Constraints excludesall: does not contain any of the UNICODE characters in the parameter, e.g. excludesall=ab …
https://nostarch.com/blackhatgo https://github.com/blackhat-go/bhg https://github.com/TralahM/blackhat-go Black Hat Go https://github.com/YYRise/bhg
Illustrating How Data Alignment Affects Memory Usage in Go
The One Billion Row Challenge in Go: from 1m45s to 3.4s in nine solutions https://github.com/benhoyt/go-1brc Baseline $ time cat measurements.txt >/dev/null 0m1.052s $ time wc measurements.txt 1000000000 …
https://books.halfrost.com/leetcode/
More Powerful Go Execution Tracing runtime/trace golang.org/x/exp/trace Flight Recording // Set up the flight recorder fr := trace.NewFlightRecorder() fr.Start() // Set up and run the HTTP server var once …
ollama/ollama Ollama + Open WebUI,快捷部署 AI 大型語言模型到你的電腦,離線執行 Docker-compose version: "3.8" services: ollama: image: ollama/ollama:latest container_name: ollama restart: unless-stopped volumes: - …
Go 1.21 GA PGO Optimization You Can’t Grasp in One Read — A Try on WebP Server Go
Go Style Decisions - Pass values Do not pass pointers as function arguments just to save a few bytes. If a function reads its argument x only as *x throughout, then the argument shouldn’t be a pointer. Common …
Go Generics Beginner Notes Custom Constraints // Addable allows only int or float64 types type Addable interface { int | float64 } func Add[T Addable](a, b T) T { return a + b } What ~ Means ~ represents all …