FAQ
go help packages says:
     An import path that is a rooted path or that begins with
     a . or .. element is interpreted as a file system path and
     denotes the package in that directory.

The way I interpret it is that
     go list /home/manlio/go/github/perillo/goprint

should list the goprint package; however go list reports an error:
     can't load package: package
/home/manlio/go/src/github.com/perillo/goprint: import
"/home/manlio/go/src/github.com/perillo/goprint": cannot import absolute
path


Is this a bug?


Thanks Manlio

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Nigel Tao at Feb 7, 2016 at 6:12 am

    On Sat, Jan 30, 2016 at 7:47 AM, Manlio Perillo wrote:
    Is this a bug?
    I don't know. Maybe adg would know.

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Manlio Perillo at Feb 7, 2016 at 3:20 pm
    Il giorno domenica 7 febbraio 2016 07:12:26 UTC+1, Nigel Tao ha scritto:
    On Sat, Jan 30, 2016 at 7:47 AM, Manlio Perillo
    <manlio....@gmail.com <javascript:>> wrote:
    Is this a bug?
    I don't know. Maybe adg would know.
    I opened an issue a week ago:
    https://github.com/golang/go/issues/14177



    Thanks Manlio

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedJan 29, '16 at 8:47p
activeFeb 7, '16 at 3:20p
posts3
users2
websitegolang.org

2 users in discussion

Manlio Perillo: 2 posts Nigel Tao: 1 post

People

Translate

site design / logo © 2022 Grokbase