Robert Johnstone
unread,Feb 28, 2012, 5:04:27 PM2/28/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
Hello Everyone,
Perhaps I'm missing something simple, but are relative package imports
still allowed in Go 1? I've refactored a package to move some
functions into a sub-package, but when building using tip I get an
error.
panic: impossible: missing entry in package cache for ./strings
imported by javascriptcore
I could hard-code the package name, but then there might be problems
between my local copy and those who install directly from bitbucket.
I'd prefer to use a relative import, but that doesn't appear to be
supported at the moment.
Is this a deliberate change is Go 1? Is it a bug with the new go
tool?
Thank-you,
Robert