Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

how to import github Go packages #78

Closed
sebgoa opened this issue Jan 9, 2017 · 1 comment
Closed

how to import github Go packages #78

sebgoa opened this issue Jan 9, 2017 · 1 comment

Comments

@sebgoa
Copy link

sebgoa commented Jan 9, 2017

we can import standard go packages, but how to add a package from a github reference ?
For example for github.com/gorilla/mux

I don't think the syntax is supported in grumpc

The following gets parsed but is wrong:

from __go__.net.http import ListenAndServe, RedirectHandler
from __go__.github.com.gorilla.mux import NewRouter

it leads to:

import (
        π_githubΓcomΓgorillaΓmux "github/com/gorilla/mux"
@sebgoa sebgoa changed the title how to import github Go modules how to import github Go packages Jan 9, 2017
@trotterdylan
Copy link
Contributor

Thanks for the report. This has also been noted in #11. I'm interested in hearing opinions on how it should be supported if you wouldn't mind weighing in there.

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

No branches or pull requests

2 participants