[go-nuts] Re: studying golang code

2017-08-16 Thread Hugo Torres
One of the things I love about Go is that the standard library is very readable, even for beginners (relative to the standard libraries of other languages). I think the database/sql package is great. The way it uses interfaces to handle testing is a good example of good quality code IMO. On

[go-nuts] Domain-driven design and go

2017-08-18 Thread Hugo Torres
Hi everybody, Recently I've been reading "Domain Driven Design" and I think it has some useful stuff about organizing Go programs. I wrote some of my thoughts up on my blog here . Would love to know what everybody thinks. Thanks, Hugo -- You received

Re: [go-nuts] Lazy Bash redirection

2017-08-26 Thread Hugo Torres
Thanks. I'll check out those tools now. On Sat, Aug 26, 2017 at 3:33 AM Jakob Borg wrote: > I think your best bet is to open a TTY manually when you detect that > stdout is not a tty. You can use for example > https://github.com/mattn/go-isatty to determine this. An >