[Canonical-tech] Handling active dependencies in Go

John Arbash Meinel john.meinel at canonical.com
Tue Dec 18 13:10:07 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2012-12-18 15:53, Free Ekanayaka wrote:
> Hi John,
> 
> On Mon, Dec 17, 2012 at 11:03 AM, John Arbash Meinel 
> <john.meinel at canonical.com> wrote:
> 
>> Eg, we recently had a discussion about whether functions should 
>> return structs or pointers to structs. Once that is settled, it 
>> would be good to update most APIs to be consistent with that.
> 
> Unrelated to the topic of this thread, but please could you give 
> pointers to that discussion? I'd be interested in reading it, and 
> check the outcome too.
> 
> Thanks,
> 
> Free
> 

This just came up on one of the code reviews. It wasn't something that
was a big thread. Just an api that was returning "foo Foo" and it
seemed better to return "foo *Foo".

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Cygwin)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlDQay8ACgkQJdeBCYSNAANBhwCgovcKq1/Qk304AjOdAwqEjrlb
4uIAn3jk0eMAwO2Wvz2XC+MSia7/iD9b
=+VVZ
-----END PGP SIGNATURE-----



More information about the Juju-dev mailing list