サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
買ってよかったもの
golang-examples.tumblr.com
Sample code snippets of Golang(Go language). Go is a great language but it lacks sample codes. I hope this blog may be helpful to you. You can embed interfaces in a struct. package main import "fmt" type Mover interface { Move() } type Car struct { Mover } But, what is embedded interface? Let’s add some more fields to Car and print it with %v. type Car struct { price int Mover speed int } func mai
このページを最初にブックマークしてみませんか?
『Golang Examples (Go Examples)』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く