![mercari.go #7を開催しました | メルカリエンジニアリング](https://cdn-ak-scissors.b.st-hatena.com/image/square/b39056dc78c1590704328bf8ffd40ef64fe5b697/height=288;version=1;width=512/https%3A%2F%2Fengineering.mercari.com%2F%2Fimg%2Fogp%2Fogp_a.jpg)
A little over 2.5 years ago, I wrote a tutorial about installing Go. Since then, one of the more significant changes to the Go ecosystem has been the addition of modules, which effectively does away with the hardest part of installing Go–$GOPATH. This change occurred in the latest version: Go 1.11. In addition to installing Go, I wanted to make a guide that can get you from nothing to a real proje
Go’s arrays are values. An array variable denotes the entire array; it is not a pointer to the first array element (as would be the case in C). This means that when you assign or pass around an array value you will make a copy of its contents. (To avoid the copy you could pass a pointer to the array, but then that’s a pointer to an array, not an array.) One way to think about arrays is as a sort o
Getting Started Installing Go Instructions for downloading and installing Go. Tutorial: Getting started A brief Hello, World tutorial to get started. Learn a bit about Go code, tools, packages, and modules. Tutorial: Create a module A tutorial of short topics introducing functions, error handling, arrays, maps, unit testing, and compiling. Tutorial: Getting started with multi-module workspaces Int
An “ins and out” of the internal implementation of the Golang channels and its related operations. Concurrency in Golang is much more than just syntax. It a design pattern. A pattern that is a repeatable solution to a commonly occurring problem while working with concurrency, because even Concurrency Needs to be Synchronized. And Go relies on a concurrency model called CSP ( Communicating Sequenti
As a Developer, it is always useful to be able to debug an application with its own IDE. When your application only works with the Kubernetes API, you can simply launch your application in the IDE and connect it to the remote Kubernetes API. But When your application needs to connect to other systems which are only available inside the Kubernetes cluster, this solution does not work anymore. Build
🚀 Adopt Go in your organization. Go is a lovely little language that's perfectly suited to writing microservices. Go kit fills in the gaps left by the otherwise excellent standard library, giving your team the confidence to adopt Go throughout your stack. 🔍 Focus on your business logic. Adopting microservices means building a distributed system, and that comes with a lot of challenges. Go kit
Declarations generally take the form of a keyword followed by the name of the object being declared. The keyword is one of const, type, var, or func. You can also use a keyword followed by a series of declarations in parentheses. var ( n int x float64 ) When declaring a function, you must either provide a name for each parameter or not provide a name for any parameter; you can’t omit some names an
When reviewing Go code, if I run into a situation where I see an unnecessary deviation from idiomatic Go style or best practice, I add an entry here complete with some rationale, and link to it. I can do this for the smallest and most subtle of details, since I care about Go a lot. I can reuse this each time the same issue comes up, instead of having to re-write the rationale multiple times, or sk
Go is an open source programming language designed for building scalable, secure and reliable software. Please read the official documentation to learn more. Go by Example is a hands-on introduction to Go using annotated example programs. Check out the first example or browse the full list below. Unless stated otherwise, examples here assume the latest major release Go. Hello World Values Variable
Go は goroutine という非同期の仕組みを提供していますが、使い方次第では色々なパターンが実装できる為、初めて goroutine を見た人はどの様な物が正解なのか分からない事があります。以前、このブログでも紹介した事がありますが Go の非同期の仕組みは一見単純な様に見えて実はとても奥深いのです。 Big Sky :: golang の channel を使ったテクニックあれこれ golang の channel は他の言語に見ない独特のパラダイムを開発者に提供します。 単純にスレッド間でメッセージングをするだけでもC言語で書けばそこそこの量になったり、慣れていない人であればど... https://mattn.kaoriya.net/software/lang/go/20160706165757.htm 2012 年に Rob Pike 氏が Google I/O で「Go
GopherCon Sunday, July 7th - Wednesday, July 10th, 2024 Marriott Marquis Chicago & McCormick Place Convention Center Can you believe it’s been one full decade since we gathered in Denver, Colorado for the very first GopherCon? When we started the conference in 2014, we were hoping for 350 attendees and ended up with close to 800. Let’s just say… chaos ensued, but it was the most magical mayhem! Af
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く