Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Go Vendoring is not supported #434

Copy link
Copy link
Closed
@mpl

Description

@mpl
Issue body actions
% echo $GOPATH
/home/mpl

% pwd
/home/mpl/src/foo

% cat baz/main.go 
package main

import (
    "foo/echo"
)

func main() {
    echo.Echo()
}

% cat echo/echo.go 
package echo

import "bar"

func Echo() {
    println(bar.Hello)
}

% cat vendor/bar/bar.go 
package bar

const Hello = "hello world"

% cd baz
% go build
% ./baz
hello world

% gopherjs build
cannot find package "bar" in any of:
    /home/mpl/go1/src/bar (from $GOROOT)
    /home/mpl/src/bar (from $GOPATH)

% go version
go version go1.6 linux/amd64

gopherjs built at rev 14ba2f52062a79512bbb6768908c95032395ce94

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggopherjs-toolRelated to the gopherjs tool or its build system (but not the compiler itself).Related to the gopherjs tool or its build system (but not the compiler itself).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.