■ 変数に対する操作・アンパーサンド(&)はポインタ抽出 foo := 123 p := &foo fmt.Println(p)// 0x414020 ・アスタリスク(*)は変数抽出(dereferencingとも言う) p := &[]int{1, 2, 3} v := *p fmt.Println(v)// [1 2 3] ■ 型定義・型ポインタ p *Book …
Quote saved.
Login to quote this blog
Failed to save quote. Please try again later.
You cannot quote because this article is private.