envy for "Writing Go Packages"
Lars T. Kyllingstad
public at kyllingen.NOSPAMnet
Sat May 8 02:27:06 PDT 2010
On Sat, 08 May 2010 02:07:29 +0000, BCS wrote:
> Hello Walter,
>
>> You just type the correct package name in the import declaration, and
>> the compiler system takes care of the rest.
>
> How about a package->source mapping?
>
> dmd -I my.corp=http://mycorp.com/sourcerepo
>
> import my.corp.foo; // looked for at http://mycorp.com/sourcerepo.foo.d
>
> that way when things move, or corps merg, you only need to update the
> mappings.
I think that's a really good idea.
-Lars
More information about the Digitalmars-d
mailing list