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

Encountered import cycle not allowed when running sample #55

Open
tedyu opened this issue Mar 14, 2022 · 1 comment
Open

Encountered import cycle not allowed when running sample #55

tedyu opened this issue Mar 14, 2022 · 1 comment
Labels

Comments

@tedyu
Copy link

tedyu commented Mar 14, 2022

I am using

go version go1.16.13 linux/amd64

When running https://github.com/pganalyze/pg_query_go/#parsing-a-query-into-go-structs , I got the following error:

package command-line-arguments
	imports github.com/pganalyze/pg_query_go/v2
	imports github.com/pganalyze/pg_query_go/v2: import cycle not allowed
@lfittl
Copy link
Member

lfittl commented Jun 28, 2022

Its not clear why this would occur - could it be that you were using an outdated version? (per #57)

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

No branches or pull requests

2 participants