fullstorydev / hauser

Service for moving your Fullstory export files to a data warehouse
MIT License
49 stars 23 forks source link

Add go.mod so hauser can be built using Go 1.11 with modules enabled #41

Closed jhump closed 5 years ago

jhump commented 5 years ago

Fixes #40

Probably easiest to review one commit at a time. Note that I've added go.mod files under vendor to work-around an issue with modules (that is marked "working as intended"): https://github.com/golang/go/issues/24110

jameremo commented 5 years ago

I think this will also fix #38. I did some local testing today, and found that there are some changes to the vendored copy of nishanths/fullstory that cannot be circumvented with config.

jhump commented 5 years ago

Did you just use go mod init to generate the go.mod file for all the vendored packages?

More or less. I don't have Go 1.11 installed, so I'm actually using vgo. Running vgo mod init just creates an empty module file. So I then ran vgo mod tidy to have it auto-compute the require statements for the dependencies.