2023-02-27から1日間の記事一覧
Goの勉強をやり始めたのでメモ。 「プログラミング言語 Go」を読んでる。 メソッド宣言 type Point struct{ X, Y float64 } func (p Point) Distance(q Point) float64 { // ... } は次と一緒
Goの勉強をやり始めたのでメモ。 「プログラミング言語 Go」を読んでる。 メソッド宣言 type Point struct{ X, Y float64 } func (p Point) Distance(q Point) float64 { // ... } は次と一緒