R
R
Roman Rakzin2015-03-07 16:27:15
go
Roman Rakzin, 2015-03-07 16:27:15

I install the framework on go. Doesn't download from the git?

0
Good afternoon, I want to install the beego framework ( beego.me ). OS-Windows.
I'm trying to execute the first line, as written - go get github.com/astaxie/beego
First, it says that GoPath is empty. I prescribe it set GoPath and put the folder where go is installed.
Doesn't want to download from the git
. What could be the reason? I do everything stupidly according to the instructions and the video. The only difference is Linux or Mac in the examples, and I have Windows. I don't understand what's the matter.
prntscr.com/6duwfx
Thanks

Answer the question

In order to leave comments, you need to log in

3 answer(s)
T
theaidem, 2015-03-07
@theaidem

discard what will come out
go env

D
DoZat0r, 2015-03-07
@DoZat0r

Roman, well, he writes to you what the problem is. Your GOPATH is the same as GOROOT, which is what go and spews warnings about. Moreover, you somehow have strange slashes of the paths in one case, one in the other, others! Try a different GOPATH after creating the directory first.
Answer #2.
Sorry it's late! However, it doesn't matter! Now the situation is different! Before executing in the go build main.go directory, run the go get command

R
Roman Rakzin, 2015-03-20
@TwoRS

Anyway prntscr.com/6j83su

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question