Thanks to visit codestin.com
Credit goes to github.com

Skip to content

GOROOT path can be a substring of GOPATH #3

@rambocoder

Description

@rambocoder

This code checks if the symtable path of an executable contains a $GOROOT path and filters out those paths. There might be cases when $GOROOT is a substring of a $GOPATH, such as:

GOROOT=/home/user/go
GOPATH=/home/user/gopath

gowhich tool needs to allow such paths.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions