hello my dear friend Google man:
I have some questions.
type Point struct{
x int
y int
}
func (p *Point) hehe(i int) {
p.x = i
p.y = i
}
func main(){
Point{1,2}.hehe(4) // compile error: can't take address of Point literal
}
The book says that there’s no way to obtain the
hello my dear friend Google man:
I have some questions.
type Point struct{
x int
y int
}
func (p *Point) hehe(i int) {
p.x = i
p.y = i
}
func main(){
Point{1,2}.hehe(4) // compile error: can't take address of Point literal
}
The book says that there’s no way to obtain the
who can help me?
2017年10月8日 上午10:36,"王晚成" <helloman...@gmail.com>写道:
> hello,
> What is the meaning of the mstartfn field inside the M structure under
> runtime2.go?
> Goroutine is eventually executed by threads, which naturally require the
> mstartfn function to
hello,
What is the meaning of the mstartfn field inside the M structure under
runtime2.go?
Goroutine is eventually executed by threads, which naturally require the
mstartfn function to obtain G tasks. That's correct, isn't it?
Thanks very much.
--
You received this message because you are
hello ,
I have a question about the bottom of the goroutine.
What is the meaning of the mstartfn field inside the M structure
under runtime2.go?
Is this mstartfn the function that we write behind the go statement?
Or what other functions?
Thanks very much!
Thanks very much ,I have solved it
在 2017年8月24日星期四 UTC+8上午3:23:08,JuciÊ Andrade写道:
>
> My dear friend 王晚成 ,
>
> You ask about the padchar parameter. That is the character used for
> filling the space between columns.
> The meaning of tabwidth is not so simple. To understa
Thanks very much ,I have solved it
在 2017年8月24日星期四 UTC+8上午1:23:08,王晚成写道:
>
> func (b *Writer <https://golang.org/pkg/text/tabwriter/#Writer>) Init(output
> io <https://golang.org/pkg/io/>.Writer <https://golang.org/pkg/io/#Writer>,
> minwidth, tabwidth, paddi
Thanks very much ,I have solved it
在 2017年8月24日星期四 UTC+8上午3:23:08,JuciÊ Andrade写道:
>
> My dear friend 王晚成 ,
>
> You ask about the padchar parameter. That is the character used for
> filling the space between columns.
> The meaning of tabwidth is not so simple. To understa