celestix/gotgproto

cant start the program because of the internal error in the library

l1ah1m opened this issue · 4 comments

Screenshot 2024-04-27 at 12 36 11

this says it all

Hi @XT3RM1NATOR, it seems like the version of gotd you are using conflicting with the version of gotgproto you have installed. Please remove gotd and gotgproto from the go.mod and try to fetch gotgproto again.

Hi @XT3RM1NATOR, it seems like the version of gotd you are using conflicting with the version of gotgproto you have installed. Please remove gotd and gotgproto from the go.mod and try to fetch gotgproto again.

Also, which version of gotgproto you are using?

Screenshot 2024-04-27 at 15 32 50 both are supposed to be the latest ones, so cant understand on why am i getting the error

Screenshot 2024-04-27 at 15 32 50 both are supposed to be the latest ones, so cant understand on why am i getting the error

No, You're doing it incorrectly. gotgproto internally depends on gotd, and hence you don't have to explicitly include it in your gomod. Also, gotgproto v1.0.0-beta17 needs gotd v0.99.2:

image

Just don't include gotd explicitly, gomod will resolve the correct version of gotd automatically if you just include gotgproto.