---
title: "The 'try' porposal is rejected, and 10 common Go mistakes"
publication: "Go Weekly"
issue: 271
published_at: "2019-07-18"
canonical_url: "https://golangweekly.com/issues/271"
---

The latest Go development news       

#271 — July 18, 2019 

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

Golang Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/zel6urytgayujttplsr2.jpg)](https://blog.golang.org/store)   

[The Go Project Launches an Official Swag Store](https://blog.golang.org/store) — There’s a lot of Go and gopher-themed merchandise out there, and now there’s [an official store](https://go-store.io/) backed by the core Go team with socks, t-shirts, plushies, and more. The best part? The proceeds go to [GoBridge](https://github.com/gobridge/about-us/blob/master/README.md) to continue making our community a better place. 

Cassandra Salisbury   

[The Go Team Rejects the `try` Error Checking Function Proposal](https://github.com/golang/go/issues/32437#issuecomment-512035919) — I guess there really is no `try`. Puns aside, the Go Core Team listened to a lot of feedback from the community and reacted to that feedback. That is pretty cool. 

Robert Griesemer   [![\](https://copm.s3.amazonaws.com/baeef636.png)](https://get.mux.com/30CqZFH) 

[Video for Your Go App That Streams Beautifully, Everywhere](https://get.mux.com/30CqZFH) — Automatically deliver the best user experience for every combination of device, browser, location, and bandwidth with Mux's video API. Get started with a $20 credit. 

Mux sponsor   

[The Top 10 Most Common Mistakes I’ve Seen in Go Projects](https://itnext.io/the-top-10-most-common-mistakes-ive-seen-in-go-projects-4b79d4f6cd65) — One developer’s personal list of the most common mistakes he’s seen in Go projects, including problems with benchmarking and pointers, confusion using `break`, slice initialization, and variable shadowing. 

Teiva Harsanyi   

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/tlvcps0tollpbv0v1q1w.jpg)](https://donatstudios.com/Golang-Binary-Sizes-Part-2)  

[Go Binary Sizes Are Relatively Stable](https://donatstudios.com/Golang-Binary-Sizes-Part-2) — Intrigued by a binary size that appeared to grow with every new release of Go, a developer compiled the _same_ code on 11 versions of Go to see how the resulting binary sizes varied. 

Jesse Donat  

💻 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) — Join the most energizing community for developers. Work from anywhere with the world's leading brands. 

X-Team   

[Land a New Dev Job on 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. 

Vettery  

📘 Articles & Tutorials  

[Using `fzf` to Turn CLI Tools into Live REPLs](https://paweldu.dev/posts/fzf-live-repl/) — This is a clever idea. It uses the [fzf](https://github.com/junegunn/fzf) ‘fuzzy finder’ and its preview feature to turn command-line tools into a mini live REPL of sorts. 

Pawel Duda   

[ORMs and Query Building in Go](https://andrewpillar.com/programming/2019/07/13/orms-and-query-building-in-go/) — Creating a more idiomatic approach to building SQL queries in Go that doesn’t rely on chaining. 

Andrew Pillar   

[Do You Need Golang or Kubernetes Training?](https://www.ardanlabs.com/training/?utm_source=Cooperpress%20Primary) — On-site corporate training. Having trained over 4,000 engineers since 2013, we've crafted classes for students to get as much as possible. 

Ardan Labs sponsor   

[Can We Trust GitHub Stars?](https://blog.containo.us/can-we-trust-github-stars-e8aa8b6b0baa) — Well, we can if we use Astronomer, a Go-powered tool developed to analyze the stars for a GitHub project and calculate a trust level. 

Brendan Le Glaunec   

[Passing Callbacks and Pointers to Cgo](https://eli.thegreenplace.net/2019/passing-callbacks-and-pointers-to-cgo/) — This post assumes some familiarity with cgo, but covers four somewhat basic interactions between Go & C. 

Eli Bendersky   

[Concurrent Programming in Go](https://medium.com/compass-true-north/concurrent-programming-in-go-de33441ace1c) — A case study in executing several concurrent functions and capturing errors for each without returning early. 

Henry Warren  

🔧 Tools & Code  

[Minimock: A Tool to Generate Mocks from Interface Declarations](https://github.com/gojuno/minimock) — Generates statically typed mocks and helpers and is fully integrated with the `testing` package. 

Juno Inc.   

[ListMonk: A High Performance, Self-Hosted Newsletter and Mailing List Manager](https://github.com/knadh/listmonk) — It’s always great to see new entries in this space as there are so few solid options. 

Kailash Nadh   

[OctoSQL: Join, Analyze, and Transform Data From Multiple Sources using SQL](https://github.com/cube2222/octosql) — Supported sources are CSV, JSON, MySQL, PostgreSQL, and Redis. 

Jacob Martin   

[📕 20 Patterns to Watch for in Engineering Teams](https://resources.gitprime.com/books/20-patterns/?utm_source=nl%28go%29&utm_medium=email-nl&utm_campaign=nl%28go%29) 

GitPrime sponsor   

[resty 2.0: Simple HTTP and REST Client Library for Go](https://github.com/go-resty/resty) — [2.0](https://github.com/go-resty/resty/releases/tag/v2.0.0) has just dropped with a request/response tracer and the ability to use a chosen local interface/IP address for requests. 

Jeevanandam M.   

[Dynamo: An Expressive DynamoDB Library](https://github.com/guregu/dynamo) — I’ve recently been learning how to use Amazon DynamoDB (a highly scalable document database on AWS) and _really_ like its approach ([this is a fantastic intro](https://www.youtube.com/watch?v=HaEPXoXVf2k) if you’re unfamiliar). 

Gregory Roseberry   

[TableFlip: Graceful Process Restarts in Go](https://github.com/cloudflare/tableflip) 

Cloudflare   

[BitVector: Static Bit Vector Structures for Go](https://github.com/teivah/bitvector) 

Teiva Harsanyi   

[MongoDB Go Driver Updated to Version 1.0.4](https://www.mongodb.com/blog/post/mongodb-go-driver-updated-to-version-104) — Focused principally on bug fixes, particularly around error handling. 

MongoDB, Inc.         

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
