Re: [go-nuts] what is 'string'

2017-08-29 Thread Shawn Milochik
A string is a built-in part of Go: https://golang.org/pkg/builtin/#string If a type implements a String() method it fulfills the Stringer interface: https://golang.org/pkg/fmt/#Stringer -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscr

[go-nuts] what is 'string'

2017-08-29 Thread V Cekvenich
In here: func (p pair) String() string { from https://learnxinyminutes.com/docs/go/ What is string? -- 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-nut