Size: a a a

2017 November 28
4gophers
Load Balancing Strategies for Consul
http://www.hashicorp.com/blog/load-balancing-strategies-for-consul

Consul is a free and open source tool that provides service discovery, health checking, load balancing, and a globally distributed key-value store.

#golang #consul
источник
2017 November 29
4gophers
[Из песочницы] Введение в нейронные сети на Golang
https://habrahabr.ru/post/343466/

Привет читателям Habrahabr! В этой статье я продемонстрирую вам пример простой нейронной сети на языке Golang с использованием готовой библиотеки.

#golang #ml
источник
4gophers
superstellar - Multiplayer galactic game written in Golang
https://t.co/jqhI66PotR

Massive multiplayer galactic game written in Golang. It has been inspired by the old arcade space shooter called Asteroids.
#golang #game
источник
4gophers
Go apps with Kafka and MySQL on Oracle Cloud  
https://t.co/QOkvLSCVFM

Oracle Application Container Cloud now has support for Go (golang) in addition to its existing set of runtimes which include Node.js, Java SE, Java EE, Python, PHP and Ruby

#golang #kafka
источник
4gophers
Try's for Go  
https://t.co/BwYSb9Kf9y

In Go it’s typical to return errors as soon as they happen and handle them locally, or wrap them with some additional context and pass them back up the stack. In Scala however it’s idiomatic to wrap an error into a Try which represents either a successfully computed value or an error.

#golang #error #try
источник
2017 November 30
4gophers
#189: JetBrains Launch GoLand IDE
https://golangweekly.com/issues/189
источник
2017 December 01
4gophers
Microservices in Golang - part 3 - docker-compose and datastores  
https://t.co/G1OUWg2NjK

In the previous post, we covered some of the basics of go-micro and Docker. We also introduced a second service. In this post, we're going to look at docker-compose, and how we can run our services together locally a little easier. We're going to introduce some different databases, and finally we'll introduce a third service into the mix.

#golang #docker #microservices
источник
4gophers
Pogo: A Podcast RSS Feed Generator and CMS
https://t.co/VWImT2nkss

#golang #rss #cms
источник
4gophers
Show HN: Promptui – Rich UI elements for cli prompts in Go
https://t.co/vcMNes2iu2

We built Promptui because we wanted to make it easy and fun to explore cloud services with manifold cli.

#golang #cli #gui
источник
4gophers
Опрос 2017
https://t.co/vpwLTmd9A7

Reminder to fill out the 2017 Go User Survey and help the Go team by providing your feedback. All responses are a…

#golang
источник
4gophers
5 Steps to Minimalist Logging in Go  
https://t.co/HkeitSlDuJ

In many ways Go is a clean break from our past programming sins, but it feels as though logging is still an area where people cling on to unnecessary practices from other languages.
#golang #logging
источник
4gophers
Interactive Charts with Go (GL)
https://t.co/25mmQxmdHc

In recent years, since the arrival of D3.js, whenever there is a task involving charts or graph visualisation I tend to gravitate towards JavaScript libraries.

#golang #charts
источник
2017 December 02
4gophers
Go космос
https://t.co/eGA2rvQYtM

Оч крутая визуализация гошных пакетов на github

#golang #github
источник
2017 December 04
4gophers
How to add a GUI to your Golang app in 5 easy steps  
https://t.co/zqV3RXILwZ

Building a Golang app is simple and fun. But sometimes you want to add the icing on the cake: a GUI!

#golang #gui
источник
4gophers
Пирожки в Go
https://habrahabr.ru/post/343788/

В продолжение эпопеи с дистрибутивно-семантическими пирожками (и в погоне за модными тенденциями) решил переписать веб-сервис с лапидарного Питона на прогрессивный Go. Заодно был вынужден перенести и всю «интеллектуальную» часть (благо, не бином Ньютона). Сделать это оказалось куда проще и приятней, чем предполагал в начале. Впрочем, на медово-синтаксическом празднике жизни не обошлось без ложки дёгтя — самая быстрая гошная «числодробилка», какую смог найти (mat из gonum) таки уступила по скорости питоновской связке numba + numpy.

#golang #numbers
источник
4gophers
Advent #3 - Minimal Perfect Hash Functions  
https://t.co/bjuxGBtXjq



A regular hash function turns a key (a string or a number) into an integer. Most people will know them as either the cryptographic hash functions (MD5, SHA1, SHA256, etc) or their smaller non-cryptographic counterparts frequently encountered in hash tables (the map keyword in Go)

#golang #hash #gopheracademy
источник
2017 December 05
4gophers
The story of a nil pointer receiver  
https://t.co/QYbnwGtHBl

Let’s assume we want to store `Gender` as an attribute for our users.

#golang
источник
4gophers
What’s the most common identifier in Go’s stdlib?
https://t.co/tHs4p3zD1Y

This is the blog post form for the latest justforfunc episode of the same title. And the code for the program can be found here, in the justforfunc repository.

#golang #stdlib
источник
4gophers
A High Performance, idiomatic CSV record encoding and decoding to native Go structures.  
https://t.co/Fphy8YpfyI

Package csvutil provides fast and idiomatic mapping between CSV and Go values.

#golang #csv
источник
4gophers
Cgo: When and (Usually) When Not to Use it  
https://t.co/hOElxtHT1H

Cgo is really good. If you’ve worked with C libraries in other languages, I expect you already know it’s not always much fun.

#golang #cgo
источник