rog-go's People
rog-go's Issues
9fans.net/go/acme dep has moved?
~/O/tools ❯❯❯ uname -a
Darwin mbp.local 14.1.1 Darwin Kernel Version 14.1.1: Thu Feb 26 22:41:49 PST
2015; root:xnu-2782.15.5~1/RELEASE_X86_64 x86_64
~/O/tools ❯❯❯ go get code.google.com/p/rog-go/exp/cmd/godef
package 9fans.net/go/acme: unrecognized import path "9fans.net/go/acme"
Original issue reported on code.google.com by [email protected]
on 4 Apr 2015 at 9:32
Patch for /exp/cmd/godef/godef.go
Patch for source packages change in Go 1.4.1.
Check for new and old location.
Original issue reported on code.google.com by [email protected]
on 2 Feb 2015 at 4:09
Attachments:
undefined raster.Fixed
Per http://codereview.appspot.com/1686048, freetype-go has renamed Fixed and
Fixed64 to Fix32 and Fix64 (respectively).
Replacing all occurrences of raster.Fixed to raster.Fix32 resolves the issue.
Original issue reported on code.google.com by [email protected]
on 12 Jul 2010 at 8:25
Can not jump to GOROOT source in go1.4
What steps will reproduce the problem?
1. install go 1.4 with homebrew or compile it from source code
2. set the $GOROOT and locate it with the new install go soruce,
3. write a go file with code which call with std function, such as
`json.Marshal()`
4. trigger godef at the cursor on json.Marshal()
It should jump to the source code in GOROOT,
but actually it does nothing.
Vsersion Info: go version go1.4 darwin/amd64
I believe the cause is the go source code change its directory architecture,
there are no more $GOROOT/src/pkg.
Change the code at
https://code.google.com/p/rog-go/source/browse/exp/cmd/godef/godef.go#49
from
gopath = append(gopath, r+"/src/pkg")
to
gopath = append(gopath, r+"/src")
could easy solve the problem.
Original issue reported on code.google.com by [email protected]
on 5 Jan 2015 at 11:32
godef: incorrect results when package identifier does not match import path
godef optimistically assumes that it can deduce the package
identifier from the import path. This is often, but not
always the case. It should actually import the package
in question, although this will slow things down a little bit.
Original issue reported on code.google.com by [email protected]
on 31 Jul 2014 at 8:08
godef does not find location for pointers
What steps will reproduce the problem?
1. Create a struct type containing a pointer to another type
2. Define the other type somewhere
3. Attempt to use godef to find the definition for the type referenced to by
the pointer
What is the expected output? What do you see instead?
I expect for `godef` to find the type, but it just finds the pointer.
What version of the product are you using? On what operating system?
Using the latest version of godef on OSX Mavericks.
The issue was confirmed here on GitHub:
https://github.com/fatih/vim-go/issues/110#issuecomment-48149847
Original issue reported on code.google.com by [email protected]
on 7 Jul 2014 at 7:58
sometims filemarshal_test.go TestEncodeDecode fails at random
What steps will reproduce the problem?
1. cd %GOPATH%\src\code.google.com\p\rog-go\exp\filemarshal
2. go test
What is the expected output? What do you see instead?
tests passes
Sometimes the test passes and sometimes it fails with a few different errors.
d:\Dev\go\gopath\src\code.google.com\p\rog-go\exp\filemarshal>go test
PASS
ok code.google.com/p/rog-go/exp/filemarshal 0.125s
d:\Dev\go\gopath\src\code.google.com\p\rog-go\exp\filemarshal>go test
--- FAIL: TestEncodeDecode (0.01 seconds)
filemarshal_test.go:177: json: mismatchedReceiver: decode failed:json: cannot unmarshal number into Go value of type filemarshal.X2
FAIL
exit status 1
FAIL code.google.com/p/rog-go/exp/filemarshal 0.125s
d:\Dev\go\gopath\src\code.google.com\p\rog-go\exp\filemarshal>go test
PASS
ok code.google.com/p/rog-go/exp/filemarshal 0.146s
d:\Dev\go\gopath\src\code.google.com\p\rog-go\exp\filemarshal>go test
--- FAIL: TestEncodeDecode (0.01 seconds)
filemarshal_test.go:177: json: noFiles: decode failed:json: cannot unmarshal object into Go value of type int
FAIL
exit status 1
FAIL code.google.com/p/rog-go/exp/filemarshal 0.209s
d:\Dev\go\gopath\src\code.google.com\p\rog-go\exp\filemarshal>go test
PASS
ok code.google.com/p/rog-go/exp/filemarshal 0.126s
d:\Dev\go\gopath\src\code.google.com\p\rog-go\exp\filemarshal>go test
--- FAIL: TestEncodeDecode (0.01 seconds)
filemarshal_test.go:177: gob: noFiles: decode failed:gob: decoding into local type *int, received remote type One = struct { S string; F File = struct {
Name string; }; }
FAIL
exit status 1
FAIL code.google.com/p/rog-go/exp/filemarshal 0.192s
d:\Dev\go\gopath\src\code.google.com\p\rog-go\exp\filemarshal>go test
PASS
ok code.google.com/p/rog-go/exp/filemarshal 0.169s
d:\Dev\go\gopath\src\code.google.com\p\rog-go\exp\filemarshal>go test
PASS
ok code.google.com/p/rog-go/exp/filemarshal 0.126s
d:\Dev\go\gopath\src\code.google.com\p\rog-go\exp\filemarshal>go test
--- FAIL: TestEncodeDecode (0.00 seconds)
filemarshal_test.go:177: gob: oneFile: decode failed:gob: type mismatch: no fields matched compiling decoder for One
FAIL
exit status 1
FAIL code.google.com/p/rog-go/exp/filemarshal 0.124s
d:\Dev\go\gopath\src\code.google.com\p\rog-go\exp\filemarshal>go test
--- FAIL: TestEncodeDecode (0.01 seconds)
filemarshal_test.go:177: gob: noFiles: decode failed:gob: decoding into local type *int, received remote type One = struct { S string; F File = struct {
Name string; }; }
FAIL
exit status 1
FAIL code.google.com/p/rog-go/exp/filemarshal 0.112s
d:\Dev\go\gopath\src\code.google.com\p\rog-go\exp\filemarshal>go test
--- FAIL: TestEncodeDecode (0.00 seconds)
filemarshal_test.go:177: gob: largeFile: decode failed:gob: type mismatch in decoder: want struct type filemarshal.File; got non-struct
FAIL
exit status 1
FAIL code.google.com/p/rog-go/exp/filemarshal 0.118s
What version of the product are you using? On what operating system?
changeset: 154:b2e2eb7b9a8f
go version go1.3.1 windows/amd64
Windows 7 64-bit
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 5 Sep 2014 at 2:43
updated goplan9 acme package location
old location no longer works
Original issue reported on code.google.com by [email protected]
on 10 Jan 2015 at 4:16
Attachments:
Broken import path
What steps will reproduce the problem?
1. go get code.google.com/p/rog-go/exp/cmd/godef
What is the expected output? What do you see instead?
package code.google.com/p/goplan9/plan9/acme
imports code.google.com/p/goplan9/plan9/acme
imports code.google.com/p/goplan9/plan9/acme: cannot find package "code.google.com/p/goplan9/plan9/acme" in any of:
/Users/neilc/local/go/src/code.google.com/p/goplan9/plan9/acme (from $GOROOT)
/Users/neilc/sweng/oms/src/code.google.com/p/goplan9/plan9/acme (from $GOPATH)
Please provide any additional information below.
goplan9 has moved to https://github.com/9fans/go
Original issue reported on code.google.com by [email protected]
on 9 Jan 2015 at 5:23
Changes to package source layout
in Go 1.4, there is a change blow:
In the main Go source repository, the source code for the packages was kept in
the directory src/pkg, which made sense but differed from other repositories,
including the Go subrepositories. In Go 1.4, the pkg level of the source tree
is now gone, so for example the fmt package's source, once kept in directory
src/pkg/fmt, now lives one level higher in src/fmt.
so, godef can not find right place in 1.4.
Original issue reported on code.google.com by [email protected]
on 23 Dec 2014 at 1:43
godef: does not correctly find identifiers defined in tests
It does not know that internal _test.go files can export their
own identifiers to be used by other external tests.
Original issue reported on code.google.com by [email protected]
on 31 Jul 2014 at 8:11
OS X: no window: EOF
From our IRC conversation.
Attached is the requested .Xauthority file
Original issue reported on code.google.com by [email protected]
on 21 Jun 2010 at 5:50
Attachments:
Missed "package audio" in exp/abc/audio/output.go
What steps will reproduce the problem?
1. Enable bash completion for go ( misc/bash/go)
2. Type go get [TAB]
What is the expected output? What do you see instead?
No errors
What version of the product are you using? On what operating system?
go: 1.1.1, rog-go: tip
Please provide any additional information below.
Got an error output:
can't load package: package code.google.com/p/rog-go/exp/abc/audio:
rog-go/exp/abc/audio/output.go:1:1: expected 'package', found 'import'
rog-go/exp/abc/audio/output.go:2:2: invalid package name _
Original issue reported on code.google.com by [email protected]
on 13 Jun 2013 at 10:05
Code with move of plan9 code
The 'acme' package on which this depends has moved from code.google.com to
9fans.net
Original issue reported on code.google.com by [email protected]
on 9 Jan 2015 at 11:33
Attachments:
exp/cmd/godef: should ignore hidden files
Would it be possible to ignore hidden files when parsing packages? Emacs
creates hidden symbolic links with names like `.#foo.go` for modified files.
This seems to trip up godef, meaning it won't be able to find any declarations
for expressions.
My guess is that it parses both foo.go and .#foo.go and then fails because of
duplicate function names, among others.
Original issue reported on code.google.com by dominik.honnef
on 28 Feb 2013 at 11:09
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.