[go-nuts] About start with Capital letter as public API and golang's no generic

2018-04-24 Thread devyoudw
I am a newbie on Golang and find go syntax is pretty concise and I like it. However, the syntax for public API seems a little trouble for me. Whenever I import a package, say: import dwu I need use a var or function with Capital first letter identifier: dwu.MyFunction dwu.MyVar I wonder sinc

Re: [go-nuts] About start with Capital letter as public API and golang's no generic

2018-04-24 Thread Shawn Milochik
As for the capitalization: You'll get used to it. As for the generics: There have been literally thousands of discussions about this, and it's way too much for me to summarize here. Do a search and you'll see the state of things. -- You received this message because you are subscribed to the Goo