---
title: "How Go 1.11 and 1.12 help you debug what you deploy"
publication: "Go Weekly"
issue: 255
published_at: "2019-03-28"
canonical_url: "https://golangweekly.com/issues/255"
---

The latest Golang development news       

#255 — March 28, 2019 

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

Golang Weekly 

![](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/botvkeomkvz9wrkvrytq.jpg)   

[The Go 2018 Survey Results Are In](https://blog.golang.org/survey2018-results) — There’s a lot to digest here and we’re publishing at the last minute.. so expect a better roundup of the results next week, but the results of the annual official Go survey are in and there are a _lot_ of charts to enjoy :-) 

Todd Kulesza and Steve Francia   

[Debugging What You Deploy in Go 1.12](https://blog.golang.org/debugging-what-you-deploy) — A brief update on how Go 1.11 and 1.12 have made strides to support better ways of debugging code in production, including allowing Delve to even debug optimized binaries. 

David Chase   [![\](https://copm.s3.amazonaws.com/710bff02.jpg)](https://www.influxdata.com/blog/what-is-the-difference-between-metrics-and-events/?utm_campaign=goweekly&utm_medium=cooperpress&utm_source=email) 

[What Is the Difference Between Metrics and Events?](https://www.influxdata.com/blog/what-is-the-difference-between-metrics-and-events/?utm_campaign=goweekly&utm_medium=cooperpress&utm_source=email) — Gathering all types of data from our systems when monitoring technologies and tools. We want to see database logs and network traffic side-by-side. Today we’re covering the question: what is the difference between metrics & events? 

InfluxData sponsor   

[Goreadme: A Service to Automatically Create and Update Go Project READMEs](https://goreadme.herokuapp.com/) — It’s actually cooler than just README generation. Goreadme will create a PR with the changes when the default branch is modified. 

Eyal Posener   

[Serverless Go APIs in 60 Seconds](https://medium.com/@tjholowaychuk/serverless-golang-apis-in-60-seconds-46e4ac36b680) — A quick illustration of deploying Go apps as-is to a production-ready environment using [Apex Up.](https://github.com/apex/up) 

TJ Holowaychuk   

▶[Absolute Unit (Test)](https://www.youtube.com/watch?v=UKe5sX1dZ0k) — Prolific Go developer Dave Cheney regales us with his experiences with TDD (Test Driven Development) and how he’s made it work for him in his Go development workflow. 

Dave Cheney   

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/lxzjqhvwaza8dvrm4b5e.jpg)](https://gopherbot.com/)  

[Gopherbot: A Robotic Gopher Plushie You Can Code?](https://gopherbot.com/) — Remember when we were giving away Go plushies for a while? It’s coming back, but in robot form, and the proceeds of this project will help fund open source projects. 

Gopherbot  

💻 Jobs  

[Distributed Systems Engineer at Ably (Remote in EU)](https://jobs.ably.io/o/distributed-systems-engineer-1) — If consensus algorithms and distributed systems pique your interest, join the team behind our global fault-tolerant messaging platform. 

Ably Realtime   

[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 dev roles and is completely free for job seekers. 

Vettery  

📘 Articles & Tutorials 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/czn2u3zse35elsjp9mqy.jpg)](https://nicholasjackson.io/2019/03/01/fixing-bugs-with-pprof/)   

[Fixing Service Performance with `pprof` in Go](https://nicholasjackson.io/2019/03/01/fixing-bugs-with-pprof/) — Simply using pprof helped pinpoint why a service was using too much CPU. Also, who knew `fmt.Println` could be such a resource hog? 

Nic Jackson   

[How Go Interfaces Can Facilitate Switching External Services](https://www.manifold.co/blog/how-go-interfaces-can-facilitate-switching-external-services-619cc478e20a) — A great example of how _“[depend on abstractions](https://en.wikipedia.org/wiki/Dependency_inversion_principle), not concretions”_ is baked directly into Go. 

Luiz Branco   

[Home Automation with Go and IKEA Trådfri](https://callistaenterprise.se/blogg/teknik/2019/03/15/a-quick-home-automation/) — The Trådfri is IKEA’s home automation gateway device and this tutorial writes a Go binary that can use it to manage smart bulbs. I think they should name it Göbïnäri. 

Callista Enterprise   

[📈Data-Driven Guide to Engineering Leadership](https://try.gitprime.com/data-driven-engineering-metrics/?utm_source=gonl&utm_medium=email-nl&utm_campaign=gonl%28q1%29) 

GitPrime sponsor   

[How to Collect, Standardize, and Centralize Go Logs](https://www.datadoghq.com/blog/go-logging/) — Packages, practices, and tools to use that make logging consistent and useful from folks that have a lot of experience with such things. 

Datadog   

[How to Get Started with MongoDB's New Go Driver](https://www.mongodb.com/blog/post/mongodb-go-driver-tutorial-part-1-connecting-using-bson-and-crud-operations) — 1.0 of the [new driver](https://github.com/mongodb/mongo-go-driver/) went GA just a couple of weeks ago. _P.S. We have a [MongoDB newsletter](https://mongodb.email/?ref=go) too, if you’re a user._ 

Tim Fogarty   

[Data Migrations with Go and MongoDB](https://dev.to/eminetto/data-migration-with-golang-and-mongodb-1563) — In this case, migrations are the command line created files that can be UP’ed or DOWN’ed to move data or alter schema. 

Elton Minetto  

🔧 Tools & Code  

[Go Templates - A Final Outcry](https://www.kylehq.com/2019/03/go-templates---a-final-outcry/) — I love it when someone takes their frustration with a shortcoming of a language and channels into a new tool for the rest of us. Kyle has done that here with Stencil. 

Kyle Clarke   

[bodyclose: Static Analysis Tool to Check Whether `res.Body` Is Correctly Closed](https://github.com/timakin/bodyclose) 

Seiji Takahashi   

[go-echarts: An 'Adorable' Charts Library for Go](https://github.com/chenjiandongx/go-echarts) — The docs are in Chinese but the code and examples cross language boundaries! :-) 

Chen Jian Dong   

[Simplify Event Tracking with a Single API](https://segment.com/?utm_source=gonl&utm_medium=email&utm_content=ss) — Collect data once with Segment and send it to 200+ tools. Get a free developer account. 

Segment sponsor   

[csvq: Use an SQL-like Query Language on CSV Files](https://github.com/mithrandie/csvq) — Includes an interactive REPL. 

Mithrandie   

[Fast Binary Encoding (FBE): Fast and Universal Serialization](https://chronoxor.github.io/FastBinaryEncoding/) — An interesting project that supports C++, C#, Go, Java, JavaScript, Kotlin, Python, and Ruby all out of the box on the three major platforms. 

Ivan Shynkarenka   

[gwob: Pure Go Parser for Wavefront's 3D Geometry File Format](https://github.com/udhos/gwob) 

Udhos         

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
