Golang Ninjas Newsletter — Issue #12

Weekly letter · Maarten Bezemer · July 22· Join for free or add the newsletter rss

Stay up-to-date and ahead of your peers with Maarten Bezemer’s weekly newsletter for Golang Ninjas.

Maarten currently uses Golang to build developer platform Jexia. Just learning Golang? Join his newsletter ’Master the World of Golang’.


News

Go modules lands in Go 1.11

jaxenter.com

Go 1.11 (expected to be released in August 2018) adds experimental support for modules. Let’s take a look and see what this means for Go developers. By JAXenter.com.

Taking Go modules for a spin

dave.cheney.net

I wanted to play with Ubuntu 18.04 on a spare machine. This gave me an excuse to try out the modules feature recently merged into the Go 1.11 development branch. By Dave Cheney.

By Russ Cox.

Fundamentals

Types in Go and Python

medium.com

Despite of other properties programming languages are statically typed (eg. GO) and dynamically typed (eg. Python). By Gegham Jivanyan.

From Ruby to Golang — Ruby ‘each’ equivalent in Go

medium.com

We create an array with 4 items, then using each, we create a block iterating over the fruits array, with a local variable fruit, then we print the value of fruit using puts. By Joel Bryan Juliano.

Best-practices

Focus on being precise

www.ardanlabs.com

I was guided for many years to write generalised functions and to create layers upon layers of abstraction so things don’t break as business requirements change.

Writing Go middleware for AWS Lambda

www.zachjohnsondev.com

This post assumes a base level of knowledge in AWS Lambda functions written in Go. By Zach Johnson.

By Aditya Mukerjee.

Implementing in-memory data structures in Go

medium.com

We talk about how the DHT is implemented for hydra. We are assuming that the reader is already aware of the Kademlia protocol. If not read this to get up to date. By Karanbir Chahal.

Building a high performance port scanner with Golang

medium.com

Go has a fantastic multi-threading API which allows for all sorts of opportunities for building high performance tools, including one of my favourites, a port scanner! By Kent Gruber.

Tutorials

PostgreSQL LISTEN/NOTIFY

tapoueh.org

Maintain an external cache in another application layer. We are going to maintain an in-memory cache in a Go service, using PostgreSQL LISTEN and NOTIFY features. By Dimitri Fontaine.

How to test TCP/UDP connections in Go — part 2

devtheweb.io

Before continuing please ensure you’ve read the first installment of this series — How to test TCP/UDP connections in Go — Part 1. By William Gough.

By JBD.

Prodigy + Prose: Radically efficient machine teaching in Go

medium.com

We’ll learn how to teach the prose library to recognize a completely new entity label called PRODUCT. It will represent various brand names such as “Windows 10”. By errata.ai.

Authorise with GraphQL, Go,and Couchbase NoSQL using JWT

blog.couchbase.com

Create a web app that uses Couchbase as the NoSQL database, Go for the web application backend, GraphQL for the frontend query technology, and JSON web tokens (JWT) for the authorization component. By Nic Raboy.

Tools

Neo4j Drivers are Go

medium.com

First alpha release of the official Neo4j Go driver available. By Nigel Small.

Contributing to Go with go-critic

blog.usejournal.com

We’ve verified golang/go repository and have send few patches, that are fixing found problems. In this post, we will inspect the suggested changes. By Oleg Kovalov.

By Fatih Arslan.

Pure-Go small home internet router

github.com

Router7 is a pure-Go implementation of a small home internet router. It comes with all the services required to make a fiber7 internet connection work. By Michael Stapelberg.

Introducing prose v2.0.0: bringing NLP to Go

medium.com

We’re pleased to announce the v2.0.0 release of prose, a natural language processing (NLP) library for Go. By errata.ai.

Benefits of using Lodash in the Go language without reflection

medium.freecodecamp.org

Working with Node.js, I’ve grown to rely on Lodash as an invaluable tool. By Tal Kol.

By Tyler Bui.

Scientific paper

Two-phase dynamic analysis of message-passing Go programs based on vector clocks

arxiv.org

Understanding the run-time behavior of concurrent programs is a challenging task. A popular approach is to establish a happens-before relation via vector clocks.

Talks about Golang

Getting to Go: journey of Go’s garbage collector

blog.golang.org

Go features goals and use cases forced us to rethink the entire garbage collection stack and led us to a surprising place. This talk describes our journey. By Richard Hudson.

Cover

Episode 124. nil and AST · — golangshow.com

Episode 124 [en]. nil and AST. Bonus: an Interview with Brad Fitzpatrick and Brian Ketelsen at @GopherConRu.

Weekly· Maarten Bezemer · July 22· Join for free or add the newsletter rss

Reach out to Jexia by sending an e-mail to content @ jexia.com.