On Sun, Feb 23, 2020 at 5:19 AM Jimu Yang <jimuy...@gmail.com> wrote: > > string1's type string and str have identical underlying type (string) and > string is not a defined type.
"string" is a defined type. See https://golang.org/ref/spec#String_types. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcUx%2B1ACmpMUQyiPEQLQC-P4ss%3DcwpKmbb7e73_phzEc2w%40mail.gmail.com.