Having trouble reading this email? View it in your browser.
New This Week

Effective Go Recipes »

Go is lightweight, easy to work with, and easy to read. Go gives you the benefits of dynamically typed languages (speed of development) while keeping the upsides of strongly typed languages (security and performance). There's an art to using Go effectively. Shave countless hours off development time with production-ready Go recipes. Learn language nuances while doing common (and not so common) programming tasks.

Recently Released:

 

Best Sellers:

Make sure you haven't missed anything!

  1. Become a Great Engineering Leader
  2. High Performance PostgreSQL for Rails
  3. Programming Ruby 3.3 (5th Edition)
  4. C Brain Teasers
  5. Programming Phoenix LiveView

See all best sellers...

Effective Go Recipes
April 09, 2024

Effective Go Recipes: Fast Solutions to Common Tasks

All the clean, reusable solutions you need for a wide variety of problems common to Go development. Outfitted with these recipes, your next apps will be more polished and more maintainable than ever.

Start out by tackling time and see how the Go time packager provides types that will do most of the heavy lifting for you. Next, work on recipes tailored to the nuances of processing text, like normalizing strings to avoid bugs. From there, whip up some functions on-the-fly and store functions in variables and data structures.

Ever wondered why Go seems to be peppered with error handling? Working through the next recipes, you'll discover the benefits, which include more robust code. In the section on HTTP, you'll learn tricks like running multiple HTTP servers on the same port and setting timeouts. With concurrency recipes, you'll limit the number of goroutines to improve performance, give your code awareness of timeouts, and decide when to keep your code sequential instead of making it concurrent.

Throughout the book, you’ll make Go sizzle following simple recipes and tweaking them to fit your own apps. Using tools like strong typing and concurrency primitives, build a Go codebase that stays maintainable at scale.

Now in print: Use coupon code "MTGOCOMPLETE" for 40% off the ebook at pragprog.com/titles/mtgo. For the paperback edition, please support your local independent bookstore.

Want to Write Something? Share What You Know

From paperbacks and ebooks to online courses and beyond, if you want to create technical content, we may be your perfect partner.

Leverage our 20+ years of experience, our global distribution network, our massive fan base, our relationships with industry leaders, our editorial, production, and marketing prowess, and even our reputation for excellence. Sure, you could go it alone, but with some of the highest royalties in all of traditional publishing and your own personal team, why would you bother?

Shoot us an email at proposals@pragprog.com or visit pragprog.com/publish-with-us for more details today.

Let's publish something together!

Upcoming Author Appearances

  • 2024-04-09 Kenneth Kousen, Devnexus
  • 2024-04-15 Frances Buontempo, ACCU/Bristol
  • 2024-04-17 VM Brasseur, Open Source Summit, Seattle
  • 2024-04-23 Kenneth Kousen, Great International Developer Summit, Bangalore, India
  • 2024-04-25 Dmitry Zinoviev, CompleNet, Exeter UK
  • 2024-04-26 Andy Atkinson, PgDay Chicago 2024
  • 2024-05-03 Kenneth Kousen, New England Software Symposium
  • 2024-05-08 Andy Atkinson, RailsConf 2023, Detroit, MI
  • 2024-05-17 Kenneth Kousen, Greater Wisconsin Software Symposium
  • 2024-05-21 Jon Reid, SwiftCraft, Folkestone, UK
  • 2024-05-22 Johanna Rothman, Visualize Your Agile Approach: Practical Ways to Increase Your Agility
  • Be the First

    Sign up for this newsletter at https://pragprog.com/newsletter/ and be the first to hear about our newest content, best promotions, and upcoming events.

    Want even more? Follow @pragprog on Twitter and The Pragmatic Programmers on LinkedIn for commentary, news, job openings, and even puzzles.

    And, if you want, you can see what Dave Thomas (@pragdave) is up to.

    Thanks for your continued support,

    By Professional Developers, for Professional Developers
    PragProg.com

    Sent by the Pragmatic Programmers, LLC. • PO Box 271356 • Flower Mound TX 75027