the original question was to do it from anywhere. that's also what i would 
like to do..

go install from anywhere... Not when you in a project with a go.work or 
go.mod etc etc

It's a pain that this is not supported.

On Monday, 5 December 2022 at 1:09:13 pm UTC+1 Robert Engels wrote:

> As I mentioned in the other thread - isn’t that made more complicated 
> because the module author (the module that is imported) doesnt use relative 
> packages references? If they did wouldn’t this be simpler?
>
> On Dec 5, 2022, at 5:32 AM, Brian Candler <b.ca...@pobox.com> wrote:
>
> Or there is vendoring <https://go.dev/ref/mod#go-mod-vendor>.
>
>
>
> On Monday, 5 December 2022 at 09:16:24 UTC stephane....@gmail.com wrote:
>
>> Hi, 
>>
>> If you don't want to commit *go.mod*, you can use *go.work 
>> <http://go.work> *https://go.dev/ref/mod#go-work-file
>>
>> On Monday, December 5, 2022 at 9:52:17 AM UTC+1 kortschak wrote:
>>
>>> On Sun, 2022-12-04 at 23:47 -0800, 'Christian Stewart' via golang-nuts 
>>> wrote: 
>>> > I definitely fork things and use "replace" quite frequently. 
>>>
>>> It *can* be used, but it is not the solution in the general case as 
>>> Volker said. A replace in a library's go.mod file has no effect on 
>>> consumers of that library. 
>>>
>>> https://go.dev/ref/mod#go-mod-file-replace: 
>>>
>>> > replace directives only apply in the main module’s go.mod file and 
>>> are ignored in other modules. See Minimal version selection for 
>>> details. 
>>>
>>> -- 
> 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...@googlegroups.com.
>
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/golang-nuts/bb56e11c-e6c5-425a-8243-df7929021014n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/golang-nuts/bb56e11c-e6c5-425a-8243-df7929021014n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/84413305-52a6-4345-b2f7-f003570fedf2n%40googlegroups.com.

Reply via email to