Re: [go-nuts] Pointer declaration syntax

2019-03-10 Thread 박민우
an Lance Taylor 님의 말: > > On Sun, Mar 10, 2019 at 7:41 AM 박민우 > > wrote: > > > > I am new to Go and I have read Go;s-declaration-syntax documentation. > > > > It states that: > > > > p: pointer to int > > > > Would be written as: &

[go-nuts] Pointer declaration syntax

2019-03-10 Thread 박민우
I am new to Go and I have read Go;s-declaration-syntax documentation. It states that: p: pointer to int Would be written as: p *int However, other than declaration syntax, "&" is the symbol for "the pointer to" like, q := &int The above code w