Join us on a literary world trip!
Add this book to bookshelf
Grey
Write a new comment Default profile 50px
Grey
Subscribe to read the full book or read the first pages for free!
All characters reduced
Go Programming Cookbook - Over 85 recipes to build modular readable and testable Golang applications across various domains 2nd Edition - cover

Go Programming Cookbook - Over 85 recipes to build modular readable and testable Golang applications across various domains 2nd Edition

Aaron Torres

Publisher: Packt Publishing

  • 0
  • 0
  • 0

Summary

Tackle the trickiest of problems in Go programming with this practical guide

 

Key Features


Develop applications for different domains using modern programming techniques

Tackle common problems when it comes to parallelism, concurrency, and reactive programming in Go

Work with ready-to-execute code based on the latest version of Go

 

Book Description


 
Go (or Golang) is a statically typed programming language developed at Google. Known for its vast standard library, it also provides features such as garbage collection, type safety, dynamic-typing capabilities, and additional built-in types. This book will serve as a reference while implementing Go features to build your own applications.


 




 
This Go cookbook helps you put into practice the advanced concepts and libraries that Golang offers. The recipes in the book follow best practices such as documentation, testing, and vendoring with Go modules, as well as performing clean abstractions using interfaces. You'll learn how code works and the common pitfalls to watch out for. The book covers basic type and error handling, and then moves on to explore applications, such as websites, command-line tools, and filesystems, that interact with users. You'll even get to grips with parallelism, distributed systems, and performance tuning.


 




 
By the end of the book, you'll be able to use open source code and concepts in Go programming to build enterprise-class applications without any hassle.

 

What you will learn


Work with third-party Go projects and modify them for your use

Write Go code using modern best practices

Manage your dependencies with the new Go module system

Solve common problems encountered when dealing with backend systems or DevOps

Explore the Go standard library and its uses

Test, profile, and fine-tune Go applications

 

Who this book is for


 
If you're a web developer, programmer, or enterprise developer looking for quick solutions to common and not-so-common problems in Go programming, this book is for you. Basic knowledge of the Go language is assumed.
Available since: 07/19/2019.
Print length: 434 pages.

Other books that might interest you

  • Against Technoableism - Rethinking Who Needs Improvement - cover

    Against Technoableism -...

    Ashley Shew

    • 0
    • 0
    • 0
    When Ashley Shew became a self-described "hard-of-hearing chemobrained amputee with Crohn's disease and tinnitus," there was no returning to "normal." Suddenly well-meaning people called her an "inspiration" while grocery shopping or viewed her as a needy recipient of technological wizardry. Most disabled people don't want what the abled assume they want—nor are they generally asked.In vibrant prose, Shew shows how we can create better narratives and more accessible futures by drawing from the insights of the cross-disability community. To forge a more equitable world, Shew argues that we must eliminate "technoableism"—the harmful belief that technology is a "solution" for disability; that the disabled simply await being "fixed" by technological wizardry; that making society more accessible and equitable is somehow a lesser priority.This badly needed introduction to disability expertise considers mobility devices, medical infrastructure, neurodivergence, and the relationship between disability and race. The future, Shew points out, is surely disabled—whether through changing climate, new diseases, or even through space travel. It's time we looked closely at how we all think about disability technologies and learn to envision disabilities not as liabilities, but as skill sets enabling all of us to navigate a challenging world.
    Show book
  • Historical Variability In Heritable General Intelligence - Its Evolutionary Origins and Socio-Cultural Consequences - cover

    Historical Variability In...

    Michael A. Woodley, Aurelio Jose...

    • 0
    • 0
    • 0
    It is easy for us to believe that as a society we are getting smarter, at least as measured by IQ tests. This supposed improvement, the Flynn Effect, suggests that each generation is brighter than the last.  
    If this improvement in intelligence is real we should all be much, much brighter than the Victorians. However, the researchers of this ground-breaking study find the reverse to be true- the Victorians were cleverer than us! IQ tests may be effective at picking out the brightest, but they are not reliable benchmarks of performance over more than a century. 
    Historical Variance records the exploration of the Flyyn effect hypothesis, which included the use of high-quality instruments to measure simple reaction times (a recognised predictor of intelligence) in a meta-analytic study. 
    The conclusions are very sobering: far from speeding up, we are slowing down. A decline in general intelligence (a loss equivalent to about 14 IQ points) since Victorian times may have resulted from the presence of dysgenic fertility. These findings, as detailed in Historical Variance, strongly indicate that the Victorians were substantially cleverer than we are today...
    Show book
  • The Engineering Executive's Primer - Impactful Technical Leadership - cover

    The Engineering Executive's...

    Will Larson

    • 0
    • 0
    • 0
    As an engineering manager, you almost always have someone in your company to turn to for advice: a peer on another team, your manager, or even the head of engineering. But who do you turn to if you're the head of engineering? Engineering executives have a challenging learning curve, and many folks excitedly start their first executive role only to leave frustrated within the first eighteen months.In this book, author Will Larson shows you ways to obtain your first executive job and quickly ramp up to meet the challenges you may not have encountered in non-executive roles: measuring engineering for both engineers and the CEO, company-scoped headcount planning, communicating successfully across a growing organization, and figuring out what people actually mean when they keep asking for a "technology strategy."This book explains how to get an engineering executive job, negotiate the contract, and onboard at your new company; run an engineering planning process and communicate effectively with the organization; direct the core meetings necessary to operate an effective engineering organization; hire, onboard, and run performance management; manage yourself and remain effective through many challenges; and leave the job when the time is right.
    Show book
  • The Theory of Everything - The Origin and Fate of the Universe - cover

    The Theory of Everything - The...

    Stephen Hawking

    • 0
    • 1
    • 0
    Based on a series of lectures given at Cambridge University, The Theory of Everything presents the most complex concepts of physics—both past and present—in a clear and accessible manner. Stephen Hawking enlightens readers and exposes them to the rich history of scientific thought and the complexities of the universe in which we live.
    Show book
  • The Mystery of Sleep - Why a Good Night's Rest Is Vital to a Better Healthier Life - cover

    The Mystery of Sleep - Why a...

    Meir Kryger MD

    • 0
    • 0
    • 0
    We spend a third of our lives in bed, but how much do we really understand about what happens when we go to sleep? What's the right amount? Why do we experience jet lag? Is snoring normal? Enter Dr. Meir Kryger, a world authority on the science of sleep, with a comprehensive guide to the science of slumber that combines detailed case studies and pragmatic advice. Everyone needs sleep, and many of us will experience some difficulty sleeping over the course of our lifetimes (or know someone who does). Kryger's comprehensive text is a much-needed bedside resource for insomniacs, those who can't stay awake, and the simply curious. Uniquely wide ranging, this is part scientific history and part handbook of sleep and the disorders that affect it.
    Show book
  • The Forgotten Art of Being Ordinary - A Human Manifesto in the Age of the Metaverse - cover

    The Forgotten Art of Being...

    CJ Casciotta, Andrew McLuhan

    • 0
    • 0
    • 0
    We're addicted to our devices. Our kids are too. None of us seem to be better for it. We all know this, but what can we do practically to become less isolated, polarized, and disconnected?This book answers that question with a bold idea: In an age of personal brands and artificial intelligence, perhaps it's time to relearn the forgotten art of being ordinary.In his follow-up to Get Weird, writer and media producer, CJ Casciotta, outlines nine practical solutions and illuminates a better way to live in a culture addicted to media technology, a lifeboat for anyone who feels like they're drowning in a sea of digital noise.This is a book for those who are tired of feeling like technology owns them, their children, their politics, and their livelihood, a hopeful and realistic game plan for navigating the twenty-first century mindfully without losing their souls.The future of our society will depend on the choices we make right now when it comes to our communication methods. It's a crisis as urgent as climate change, yet far fewer people are talking about it. The Forgotten Art of Being Ordinary will give you the language you've been looking for to start changing the conversation.
    Show book