Le 2019-03-26 20:42, Nicolas Mailhot a écrit :
Le jeudi 14 mars 2019 à 11:49 +0100, Nicolas Mailhot a écrit :
> Le 2019-03-13 20:33, thepudds1460(a)gmail.com a écrit :
> >
> > However, even in advance of that, I have seen different people put
> > together one-off shell scripts or similar that are capable of
> > putting
> > a properly formed entry into the module cache such that it can be
> > used
> > by GOPROXY=file://your/path. For example:
> >
https://github.com/komuw/goproxy/blob/master/goproxy.sh#L71
>
> And I have my own (unpublished incomplete and unfinished) code to
> try doing the same thing. Not elegant code I'm especially proud of,
> just quick and dirty “get it to work before august” code.
Anyway here is the code, not finished, not feature-complete, very
lightly tested, but already doing some useful things
https://pagure.io/modist/
You can add it to your collection of code that tries to do things with
Go modules.
And I should have added, the readme is sparse but the tool should be
self documenting, just build cmd/modist and run it, it will output help
about available subcommands and their parameters
Regards,
--
Nicolas Mailhot