Comments (3)
It's a reasonable request, but not crucial (you can use -aux_files to point at
$GOROOT/src/pkg/os/error.go). My concern would be that Go developers
increasingly won't have a $GOROOT at all. The better long-term solution will be
to get the type definitions from the .a files, but that depends on the go/types
package being fleshed out.
Original comment by [email protected]
on 11 Oct 2011 at 10:36
- Changed title: Consult $GOPATH for auxilliary interface definitions
- Added labels: Priority-Low, Type-Enhancement
- Removed labels: Priority-Medium, Type-Defect
from gomock.
The GOPATH is different from the GOROOT: the GOPATH is used by goinstall to
provide a list of directories where go files may be found. (See "The GOPATH
Environment Variable" here http://golang.org/cmd/goinstall/)
Original comment by [email protected]
on 31 Oct 2011 at 9:47
- Added labels: ****
- Removed labels: ****
from gomock.
This is obsolete. The source mode of mockgen is deprecated and will be removed
entirely soon, and this issue is not a problem for the reflect mode.
Original comment by [email protected]
on 5 Sep 2012 at 7:46
- Changed state: WontFix
- Added labels: ****
- Removed labels: ****
from gomock.
Related Issues (17)
- Request for blocking calls. HOT 2
- Not an issue,but a question:How to mock a interface and pass it by pointer? HOT 9
- Loading input failed: : exec: "C:\\[...]\\Temp\\gomock_reflect_569018487\\prog.bin": file does not exist HOT 8
- Generated import conflict with reserved words HOT 2
- Allow for loose mocks HOT 1
- GoMock Embedded Interfaces Don't Keep Package Name HOT 2
- False positives when using Times(0) on Call HOT 2
- mockgen can't generate interfaces that embed them from a separate file
- gomock creates mocks that fail golint HOT 2
- mockgen cannot mock interfaces with embedded interfaces HOT 12
- Provide a decent example use HOT 3
- gomock fails to generate functions with closure as arguments HOT 4
- Output file created even on error HOT 4
- Mockgen produces incorrect output HOT 2
- Mockgen generates files with incorrect packages HOT 6
- mockgen creates unusable mock in some circumstances. HOT 7
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.
from gomock.