2020-07-01から1ヶ月間の記事一覧

Goのドット3つ

概要 Goを書いているときに見るドット3つについて公式ドキュメントのリンクをもとにコード例を示す。 配列 https://golang.org/ref/spec#Composite_literals The notation ... specifies an array length equal to the maximum element index plus one. とあ…