Go Community Linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Go community here or just enjoy what everyone else has found!


Golangflow mobile app now available

Get the latest news, updates on the Go Programming language. Google Play only as this time

 Brian Scott


Getting Started with GraphQL using Golang

We’re going to see how to implement a web application using the Go programming language, but uses GraphQL when working with the data.

Read More

 Brian Scott


Benefits of Using Go/Golang

Go has entered into this world of enterprise application development with a mantra:Do more with less. Handle Heavy Load Golang has eliminated interpreter as the programs are converted directly into machine code. The Go compiler is used to convert code into executable files. This compilation performs many optimizations on the machine code to make it run as fast as possible. The advanced Golang compiler offers an efficient way to check errors in the code and make deployment easy.

Garbage Collection Garbage collection, or say automatic memory management of Golang is a powerful feature. Go excels in providing control over memory allocation, resulting reduced latency in the latest versions of garbage collector.

Scalability Go is designed with scalability by default. As an application grows, it needs to manage multiple tasks simultaneously, like delivering HTML pages to different web browsers. Go comes with many built-in features such as Goroutines(functions) and Channels to handle simultaneous tasks within one application.

Cross Compiling Go allows you to cross-compile your application and run it on a different machine. The Go compiler lets you generate executable binaries for multiple operating systems with easy commands. You can cross-compile original source code to execute on multiple machines rather than installing Golang on foreign machines.

Static Typing Golang compiler ensures that the code gets compiled correctly and it also takes care of compatibility and other type conversions. This can help in avoiding problems that developers face in the dynamic-typed language, wherein they discover bugs only after executing the code.

Testing Support Golang has brought Unit Testing in the language. Now developers can write their Unit tests parallel with the code through a simple mechanism. It also provides support to understand code coverage by some tests, benchmark tests, and write example code to generate the code documentation.

Simplicity Go is a simple and easy to understand language. Its entire specification is just a few pages long. It strives to be simple to read and write. Go prefers Composition over Inheritance. Also, its Type System is well-designed. Read more:hire golang developers

 


Onelog is a dead simple but very efficient JSON logger

Onelog is a dead simple but very efficient JSON logger. It is one of the fastest JSON logger out there and the fastest when logging extra fields. Also, it is one of the logger with the lowest allocation.

 Brian Scott


Partitioned signup example based on Kafka and PostgreSQL

This project demonstrates a partitioned signup flow: users sign up at Account service which requires a username. There are so many people willing to register, that a single PostgreSQL database can't hold all account records, but three servers are enough for this hypothetical service load. Therefore we should split (partition) user accounts on three databases and make sure a username is unique across all of them.

 Marsel Mavletkulov


Parsing large XML file in streaming mode in Go #xml #streaming #drugbank

A blog post I wrote about how I learned how awesome Go is for processing large XML files in streaming mode, which I had to do for the DrugBank dataset of approved drugs.

http://bionics.it/posts/parsing-drugbank-xml-or-any-large-xml-file-in-streaming-mode-in-go

 Samuel Lampa


Deep Learning with go

GoLang UK Conference talk on how to build ‘deep learning’ models with Go to solve complex real-world challenges.

https://youtu.be/P5QObw_kqbc

 David Dymko


Getting Started with Buffalo to Build Awesome Websites - GoIn5Minutes @arschles #Video #Learning

How do you build a website with Go? For a while, we all just cobbled something together with the standard library, Gorilla Mux, and so on. We had to figure a lot out on our own. Not anymore! Now we have Buffalo!

Episode #21

 Brian Scott