Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import cycle not allowed #7

Closed
cismarine opened this issue Feb 22, 2022 · 3 comments
Closed

import cycle not allowed #7

cismarine opened this issue Feb 22, 2022 · 3 comments

Comments

@cismarine
Copy link

Hi, I am not a Go person.
Getting the following error while running $ go run mac2mqtt.go

mac2mqtt % go run mac2mqtt.go package command-line-arguments imports gopkg.in/yaml.v2 imports gopkg.in/yaml.v2: import cycle not allowed

@christoph-morrison
Copy link

Please show your go.mod file.

@callumgare
Copy link

Check out this PR if you'd like to run/build the source: #9

@bessarabov
Copy link
Owner

I'm pretty sure that you have faced this problem because there was were no go.mod and no go.sum files in the reposity. Now this is fixed, and the files are present in this repo (done in ec0bbea )

But besides that now there is also a pre-complived binaries that you can just take and use. There is a GitHub Action that auto builds project and put complied versiosn to the Releases Page. The first release with them is https://github.com/bessarabov/mac2mqtt/releases/tag/1.4.0

I've also added this info to README.md file — (done in commit c002966 )

I believe there's no point in keeping this issue open right now, so I'm closing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants