Can Not Import github.com/longwallstreet/go-foxpro-dbf

I am new to Go and GitHub.com. I would like to import GitHub - longwallstreet/go-foxpro-dbf: Golang package for reading XBase FoxPro DBF/FPT files, but get the following message: github.com/carlosjhr64/jd: cannot find module providing package github.com/carlosjhr64/jd

Can anyone shed light on this? I would like to use this package.

Thanks

Hi there!
First, as far as I can see, https://github.com/longwallstreet/go-foxpro-dbf is a fork repository of https://github.com/SebastiaanKlippert/go-foxpro-dbf . so you should use the upstream.
and the error “cannot find module providing package…” occures, because https://github.com/longwallstreet/go-foxpro-dbf for some reasons does not have go.mod file that is required by go do parse package import path.
note that upstream repository https://github.com/SebastiaanKlippert/go-foxpro-dbf does have such a file, so your import command should look like:

go get github.com/SebastiaanKlippert/go-foxpro-dbf@master

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.