Skip to content

GOPATH is empty #2812

@JeepLin

Description

@JeepLin

after install idea, i import and try to run my project and found out the error says : src/warehouse/main.go:55:2: cannot find package "glog" in any of: /usr/local/go/src/glog (from $GOROOT) ($GOPATH not set)

then i open the terminal in idea and found that GOPATH is null
image

but in the shell GOPATH is not null
image

so i was confused....help....

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions