It's caused by github.com/lufia/iostat.

Maybe two different dependencies used 'iostat'. 'iostat; used cgo, and 
produced an object file from .c file for each dependency. Linker try to 
link both .o file that cause the problem.

On Tuesday, March 23, 2021 at 12:25:17 AM UTC+8 Ian Lance Taylor wrote:

> On Mon, Mar 22, 2021 at 7:40 AM Alex <alex....@gmail.com> wrote:
> >
> > A package you import could be using cgo, you don't have to be using it 
> directly.
>
> I'll add that I think that this must be what is happening, as you
> could not get that error message in a program that doesn't use cgo
> anywhere.
>
> Ian
>

-- 
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/406ae785-36bd-4bd4-881d-9bea5d62830en%40googlegroups.com.

Reply via email to