---
title: "Working with Errors in Go 1.13"
publication: "Go Weekly"
issue: 284
published_at: "2019-10-18"
canonical_url: "https://golangweekly.com/issues/284"
---

The latest Go development news       

#284 — October 18, 2019 

[Read on the Web](https://golangweekly.com/issues/284)   

Golang Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/oge33xi7dx2whsbboxwl.jpg)](https://blog.golang.org/go1.13-errors)   

[Working with Errors in Go 1.13](https://blog.golang.org/go1.13-errors) — Error handling is a common topic of [discussion](https://www.infoq.com/news/2019/07/go-try-proposal-rejected/) (and, sometimes, [innovation](https://godoc.org/golang.org/x/xerrors)) and things have improved slightly in Go 1.13 with the introduction of new ways to examine, wrap, and unwrap errors. 

Damien Neil and Jonathan Amsterdam   

[Uber's Go Style Guide](https://github.com/uber-go/guide/blob/master/style.md) — This is a guide to the conventions that go beyond `go fmt`, like performance tips, guidelines (“Start Enums at One”), and more. 

Uber   [![\](https://copm.s3.amazonaws.com/0ab4ad03.png)](https://get.mux.com/2nPiLME) 

[Video for Your Go App That Streams Beautifully, Everywhere](https://get.mux.com/2nPiLME) — Whether you have thousands of streams or millions of viewers, automatically deliver the best viewer experience with Mux's live streaming API. Sign up and get $20 credit today. 

Mux sponsor   

[Request Smuggling Between Amazon ALBs and `net/http`](https://99designs.co.uk/blog/engineering/request-smuggling/) — If you’re running Go services behind an AWS ALB (Application Load Balancer) you’ll want to consider upgrading your Go version. There’s a really nice illustration showing off the problem here too. 

Adam Scarr (99designs)   

[Go 1.13.2 and Go 1.12.11 Released](https://groups.google.com/forum/#!topic/golang-nuts/uQlAyLkZ5kg) — Releases to fix a recently reported security issue (separate to the one related to the ALB story above which was fixed in 1.13.1) around DSA public keys. There’s also a fix around [negative slice indexes.](https://github.com/golang/go/issues/34802) 

Katie Hockman   

[TinyGo 0.9.0 Released](https://github.com/tinygo-org/tinygo/releases/tag/v0.9.0) — The _“Go compiler for small places”_ (such as microcontrollers and WebAssembly) adds experimental Windows support, Go 1.13 support, and more. 

TinyGo  

💻 Jobs  

[Golang Developer at X-Team (Remote)](https://x-team.com/remote-go-developer-jobs/?utm_source=cooperpress&utm_medium=email-ad&utm_campaign=go) — Work with the world's leading brands, from anywhere. Travel the world while being part of the most energizing community of developers. 

X-Team   

[Software Engineer / Founding Teammate](https://stackoverflow.com/jobs/282662/software-engineer-founding-teammate-markup) — A well funded, fast-moving startup that is changing the way large teams collaborate on documents. Think: GitHub for documentation. 

Markup   

[Find A Job Through Vettery](https://www.vettery.com/tech?utm_source=newsletter&utm_medium=cooper-golangweekly&utm_term=tech&utm_content=grouped&utm_campaign=ad-77582) — Vettery specializes in tech roles and is completely free for job seekers. Create a profile to get started. 

Vettery  

📘 Articles & Tutorials  

[Interpreting Go](http://notes.eatonphil.com/interpreting-go.html) — In an effort to get more comfortable with Go’s Abstract Syntax Tree, here’s a step-by-step tutorial on parsing Go. 

Phil Eaton   

[Flat Application Structure in Go](https://www.calhoun.io/flat-application-structure/) — Simply having all of your app’s `.go` files in a single directory isn’t necessarily something to be avoided, as long as you keep some things in mind.. 

Jon Calhoun   

[How to Build a Custom Kubernetes Ingress Controller in Go](http://www.doxsey.net/blog/how-to-build-a-custom-kubernetes-ingress-controller-in-go) — I like how the author describes this post: _“Even if you have no need to make your own ingress controller, the steps described below are generally useful for Kubernetes development as well as building HTTP proxies in Go.”_ 

Caleb Doxsey   

[The Art of PostgreSQL: A Book to Learn How to Best Use SQL from Your Go Application](https://theartofpostgresql.com) — The book that teaches SQL to developers: learn to replace thousands of lines of Go code with simple SQL queries. 

The Art of PostgreSQL sponsor   

[Understanding Pointers](https://www.digitalocean.com/community/conceptual_articles/understanding-pointers-in-go?utm_source=golangweekly&utm_medium=social&utm_campaign=do-pointers) — An introductory guide to a concept that frequently trips developers up in every language in which they’re implemented.. 😄 

DigitalOcean   

[Implementing Dijkstra's Algorithm](https://deployeveryday.com/2019/10/16/dijkstra-algorithm-golang.html) — Dijkstra’s Algorithm finds the shortest path between vertices in a graph. 

Jonatas Baldin   

[Decorators in Go Using Embedded Structs](https://fabianlindfors.se/blog/decorators-in-go-using-embedded-structs/) — Embedded structs can help you avoid a lot of boilerplate code when creating decorators. 

Fabian Lindfors  

🛠 Code & Tools  

[Bigslice: Serverless Cluster Computing in Go](https://bigslice.io/) — A serverless cluster data processing system for the Go programming language that exposes a composable API that lets users express data processing tasks in terms of a series of data transformations that invoke user functions. 

GRAIL   

[Sessionup: Simple HTTP Session Management and Identification](https://github.com/swithek/sessionup) 

swithek   

[Harmony: A Go Module for Using Discord's API](https://github.com/skwair/harmony) — [Discord](https://discordapp.com/) is a popular chat app, particularly in the gaming community. 

Antoine Couchard   

[Trace Requests from Go Apps End-To-End to Identify Errors and Latency](https://www.datadoghq.com/dg/apm/go-performance-monitoring/?utm_source=Advertisement&utm_medium=CooperPress&utm_campaign=CooperPress-GoWeeklyB) 

Datadog APM sponsor   

[JSONIterator: A High-Performance Drop-in Replacement for `encoding/json`](https://github.com/json-iterator/go) 

Jsoniter   

[progressbar: A Basic Thread-Safe Progress Bar](https://github.com/schollz/progressbar) 

Zack Scholl         

Curated by [Glenn Goodrich](https://twitter.com/ruprict) and [Peter Cooper](https://twitter.com/peterc). 

[Change your email address](https://golangweekly.com/edit_subscription/*|UID|*) or[Stop getting this newsletter](https://golangweekly.com/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
