-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc/code.html: update description of install command #24506
Comments
The behavior has since been changed such that to install the dependencies you need to pass the
Do you have a link to where you got the documentation? |
Got it from here Link to the documentation is on this page in the
section. "How to Write Go Code" part is the link to it. Direct link to docs: |
With the |
Change https://golang.org/cl/105655 mentions this issue: |
I'm still seeing |
Fix has not been approved and merged yet |
Change https://golang.org/cl/129679 mentions this issue: |
What version of Go are you using (go version)?
go version go1.10 windows/amd64
Does this issue reproduce with the latest release?
1.10 is the latest at this moment
What operating system and processor architecture are you using (go env)?
GOARCH=amd64
GOOS=windows
What did you do?
I have small test program with two small dummy libraries.
Go program in the
src
has pathgithub.com/user/hello
add()
function is in separate file, also inhello
directory:When I don't have the above libraries compiled and just use go install
hello
program is installed and works but thepkg
directory is not created and nostringutil.a
andtttt.a
.If I want to have libraries generated I have to use
go install
on every library, in which casepkg
is generated and libraries in it.this is not behaviour according to this documentation:
Note that I have just installed the latest version (1.10) and just start using it as is writing only one dummy program and two dummy libraries one of which is copied from Go documentation.
What did you expect to see?
Dependencies installed automatically in the
pkg
What did you see instead?
No
pkg
and no installed dependenciesThe text was updated successfully, but these errors were encountered: