Thank you Matt, I will start reading as you mentioned.

BR,
Teja

On Monday, April 23, 2018 at 8:36:00 PM UTC+2, matthe...@gmail.com wrote:
>
> Hi Teja,
>
> I found Effective Go to be generally helpful: 
> https://golang.org/doc/effective_go.html
>
> Here’s my best example: https://github.com/pciet/wichess
>
> My golang-nuts code review points:
>
> - don’t overuse interface (consider closures and function types/fields)
> - don’t overuse packages, make more files in the same package first
> - focus on the godoc presentation
> - consider struct embedding
> - slices are more efficient and readable than maps for some kinds of 
> unordered sets
> - a struct of pointers is similar to a pointer to a struct
> - profile before making any choice away from easy code
>
> For newbies:
>
> - Writing computer programs with if, for, types, functions, and libraries 
> is an art that many people might like. What Go brings is less wading 
> through mud than C, Java, and scripting languages.
> - Pointers are a hard part of Go and you should learn them well enough to 
> not have any pointer questions. Map and interface vars are pointers, and a 
> slice has a pointer to the array (a slice is a struct).
> - stackoverflow.com, golang.org, golang-nuts, and Dave Cheney's blog are 
> good resources among others.
>
> Matt
>
> On Monday, April 23, 2018 at 12:39:10 PM UTC-5, vteja...@gmail.com wrote:
>>
>> Hello,
>>
>> I was quite new to go lang. It would be good if anyone can help with best 
>> practices and practical git repo structure example for getting inspiration 
>> to kick start.
>>
>> Thanks,
>> Teja
>>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to