Daily Golang Issue #7 (2024-08-20)
π₯ This newsletter issue was published 7 days ago in my Daily Golang newsletter. Subscribe to the newsletter to get newsletter issues with best and latest resources about Golang every day in your mailbox.
Daily Golang
Daily Golang is your daily and weekly source for everything about the Go (Golang) programming language. Get the latest news, tips, tutorials, and more delivered straight to your inbox.
Why Subscribe to Daily Golang?
- Receive fresh Go programming content in your inbox every day and week.
- Keep up with the latest news, trends, and developments in the Go community.
- Access tips, tutorials, and best practices to enhance your Go programming expertise.
- Save time with hand-picked articles and resources relevant to your Go journey.
Your daily hub for Go news, insights, and projects
π§ Discoveries
Here is the list of discovered interesting blog posts, videos, and projects that are worth checking out.
π Blog Posts
- The adapter pattern in Go by John Arundel
- When to avoid DRY in Go
- The author discusses the “Don’t Repeat Yourself” (DRY) principle, advising when it might be beneficial to break this rule in Go programming. The post emphasizes balancing code reuse with maintainability, sometimes favoring simplicity over strict adherence to DRY.
- Securing Cookies in Go
- This post provides guidance on securing cookies in Go applications. It discusses setting cookie attributes like
HttpOnly
,Secure
, andSameSite
to prevent common security vulnerabilities such as XSS and CSRF attacks.
- This post provides guidance on securing cookies in Go applications. It discusses setting cookie attributes like
- Effective error handling in GoLang; how to Error()
πΉ Videos
- GopherCon Europe 2023: Robert Grandl - Towards Modern Development of Cloud Applications
- Golang Context Explained - How To Use With Timeout
- The Complete Microservices Course in Go
- Simplify Building Consistent Systems using Defer - Aman Mangal - September Gophers
π οΈ Projects
- maxatome/go-testdeep
- Go-testdeep extends Goβs
testing
package with more powerful comparison tools, making it easier to write robust tests for complex data structures, APIs, and more. It offers a flexible way to write deep comparisons and custom assertions.
- Go-testdeep extends Goβs
- cockroachdb/pebble
- Pebble is a RocksDB/LevelDB-inspired key-value database in Go, optimized for performance and efficiency, particularly for workloads requiring low-latency storage.