L
L
Luke LikeSkywalker2018-09-07 00:25:39
go
Luke LikeSkywalker, 2018-09-07 00:25:39

GOPATH variable crashes all the time, why?

Installing GOPATH. It works. But after a while, when I execute the cd $GOPATH command, it throws me out to ~. You have to set $GOPATH again. But after a while the variable "flies" again

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Aksentiev, 2018-09-07
@oolooq

Well, apparently the console is closed?
write in ~/.bash_profile

L
Leonid Nikolaev, 2018-09-07
@nikonor

Switch to modules :-) And then GOPATH will no longer be needed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question