Re: [go-nuts] Re: [Go Spec]Confused about Assignability in Golang Specification

2020-02-23 Thread Jan Mercl
Type literals are a prime example of "undefined" types. For example as in `var a []int`. On Sun, Feb 23, 2020, 17:21 Jimu Yang wrote: > Thank you all. > i read all about defined types on the doc > https://golang.org/ref/spec#String_types > now i know many defined types (string bool int ...

[go-nuts] Re: [Go Spec]Confused about Assignability in Golang Specification

2020-02-23 Thread Jimu Yang
Thank you all. i read all about defined types on the doc https://golang.org/ref/spec#String_types now i know many defined types (string bool int ... but which are the "undefined" types? i didn't find a direct answer. my thinking is that the "literals" which including all type literals