FactoKit / FactoCord

A Factorio bot for Discord built in Golang.
MIT License
37 stars 14 forks source link

Changed imports to work with current source code... #13

Closed robertvalik closed 5 years ago

robertvalik commented 5 years ago

This fixed issue #8 for me - after go buildeverything seems to work... I don't know if this is a correct approach, sorry if not :-)

UclCommander commented 5 years ago

Go Modules is probably the solution to this. I'll be looking into adding that soon™. Changing imports to paths like this is dependent on where source is on the system. I'd rather not do that

robertvalik commented 5 years ago

I am quite not sure what you mean as the main.go uses similar relative-path imports. Those imports are included in the git project, they are not external modules so relative path shoud not change (unless some refactoring cames along). Would you, please, elaborate more? I am trying to understand the correct approach... :-) Thank you very much.