Re: [go-nuts] Re: string question

2018-10-02 Thread Greg Saylor
Perfect. Thanks so much! - Greg On Tuesday, October 2, 2018 at 12:13:12 PM UTC-7, Burak Serdar wrote: > > https://blog.golang.org/constants > > Foo is an untyped constant. Bar is a string. > On Tue, Oct 2, 2018 at 1:11 PM Greg Saylor > wrote: > > > > Also it would appear that foo("hello")

Re: [go-nuts] Re: string question

2018-10-02 Thread Burak Serdar
https://blog.golang.org/constants Foo is an untyped constant. Bar is a string. On Tue, Oct 2, 2018 at 1:11 PM Greg Saylor wrote: > > Also it would appear that foo("hello") succeeds to. > > - Greg > > > On Tuesday, October 2, 2018 at 12:05:04 PM UTC-7, Greg Saylor wrote: >> >> Hello, >> >> I'm

[go-nuts] Re: string question

2018-10-02 Thread Greg Saylor
Also it would appear that foo("hello") succeeds to. - Greg On Tuesday, October 2, 2018 at 12:05:04 PM UTC-7, Greg Saylor wrote: > > Hello, > > I'm trying to figure out why foo(Bar) is the only one of these function > calls that fails. It seems like foo(Foo) should to? > > package main > > >

[go-nuts] Re: string question

2018-10-02 Thread Greg Saylor
Should have mentioned I'm using go version go1.10.2 darwin/amd64 - Greg On Tuesday, October 2, 2018 at 12:05:04 PM UTC-7, Greg Saylor wrote: > > Hello, > > I'm trying to figure out why foo(Bar) is the only one of these function > calls that fails. It seems like foo(Foo) should to? > > package