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

schema: Importing other files #6

Open
tv42 opened this issue Nov 5, 2015 · 0 comments
Open

schema: Importing other files #6

tv42 opened this issue Nov 5, 2015 · 0 comments

Comments

@tv42
Copy link
Member

tv42 commented Nov 5, 2015

Some sort of url-inspired syntax, example.com/myproject/myprotocol.Person v1.

Do we import once with the full url, and then refer with just the basename (or given alias)? import example.com/myproject/myprotocol and then myprotocol.Person v1.

How are the actual *.chi looked up? The Go code gen should use $GOPATH, but also support schemas defined in non-Go projects; and non-Go libraries need a standard lookup mechanism.

Cyclic imports are an error.

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

1 participant