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 Logo

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.
    Marketing permission (GDPR) I give my consent to Max Kovalevsky to be in touch with me via email using the information I have provided in this form for the purpose of news, updates and marketing.
    How often would you like to receive the newsletter?
    We won't send you spam. Unsubscribe at any time.

    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, and SameSite to prevent common security vulnerabilities such as XSS and CSRF attacks.
    • Effective error handling in GoLang; how to Error()

    πŸ“Ή Videos

    πŸ› οΈ 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.
    • 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.