dsymonds/gomock — pull request #4 by jacobsa (2012-01-07 01:50:30+00:00)
Title: Added a readme file for the sample/ dir

Note that the `go test` command at the end of the instructions still fails with a cryptic error:

```
$ go test
&{user An example package with an interface.
A test that uses a mock.
github.com/dsymonds/gomock/sample /Users/jacobsa/go/clients/src/github.com/dsymonds/gomock/sample %!s(bool=false) %!s(bool=false) [user.go] [] [] [] [] [] [] [bytes github.com/dsymonds/gomock/sample/imp1 github.com/dsymonds/gomock/sample/imp2 github.com/dsymonds/gomock/sample/imp3 github.com/dsymonds/gomock/sample/imp4 hash io log net net/http] [C bufio bytes compress/flate compress/gzip crypto crypto/aes crypto/cipher crypto/des crypto/dsa crypto/elliptic crypto/hmac crypto/md5 crypto/rand crypto/rc4 crypto/rsa crypto/sha1 crypto/sha256 crypto/subtle crypto/tls crypto/x509 crypto/x509/pkix encoding/asn1 encoding/base64 encoding/binary encoding/pem errors fmt github.com/dsymonds/gomock/sample/imp1 github.com/dsymonds/gomock/sample/imp2 github.com/dsymonds/gomock/sample/imp3 github.com/dsymonds/gomock/sample/imp4 hash hash/crc32 io io/ioutil log math math/big math/rand mime mime/multipart net net/http net/textproto net/url os path path/filepath reflect runtime runtime/cgo runtime/debug sort strconv strings sync sync/atomic syscall time unicode unicode/utf8 unsafe] 0x422c0100 0x42298f00 [0x422b5dc0 0x4239a000 0x4239ab40 0x4239aa00 0x4239a8c0 0x4239a780 0x422b5640 0x4239a640 0x423b6a00 0x423b6500 0x422b5280] [/Users/jacobsa/go/clients/src/github.com/dsymonds/gomock/sample/user.go] /Users/jacobsa/go/clients/pkg/darwin_amd64/github.com/dsymonds/gomock/sample.a %!s(bool=false)}: package could not be found locally
```

I don't know why, but given the horrible error message I think it might be a `go` command bug. Will investigate further and amend if needed after this is pulled.