FAQ
It looks like the behavior of `go install ...` (and also `go install
pkg`) has changed in 1.3 beta 1 to be an error when a package only has
*_test.go files and no normal package can be installed for it. Is this
intentional?


--
-Naitik

--
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

  • Dave Cheney at May 1, 2014 at 4:32 pm
    lucky(~/src/yy) % cat yy_test.go
    package yy

    import "testing"

    func TestYY(t *testing.T) { t.Log("Hello") }
    lucky(~/src/yy) % go install .
    go install yy: open /tmp/go-build669628937/yy.a: no such file or directory


    Please consider raising an issue.
    On Saturday, 26 April 2014 12:18:00 UTC+10, Naitik Shah wrote:

    It looks like the behavior of `go install ...` (and also `go install
    pkg`) has changed in 1.3 beta 1 to be an error when a package only has
    *_test.go files and no normal package can be installed for it. Is this
    intentional?


    --
    -Naitik
    --
    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
postedApr 26, '14 at 2:18a
activeMay 1, '14 at 4:32p
posts2
users2
websitegolang.org

2 users in discussion

Dave Cheney: 1 post Naitik Shah: 1 post

People

Translate

site design / logo © 2022 Grokbase