FAQ
The vendor specification
<https://docs.google.com/document/d/1Bz5-UB7g2uPBdOx-rw5t9MxJwkfpx90cqG9AFL0JAYo/edit> doesn't
seem to speak much about the visibility of the vendored packages. Thus,
should vendor be treated in similar ways to internal?

As it currently is, the following program compiles under go1.6beta2 (with
the vendor experiment on):

package main

import "vendor/golang.org/x/net/http2/hpack"

func main() {
hpack.NewEncoder(nil)
}


Is the expected behavior? It seems kind of odd that I can import hpack as
part of the "standard" library.

JT

--
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
groupgolang-dev @
categoriesgo
postedJan 16, '16 at 3:35p
activeJan 20, '16 at 9:54a
posts3
users2
websitegolang.org

2 users in discussion

Joe Tsai: 2 posts Brad Fitzpatrick: 1 post

People

Translate

site design / logo © 2021 Grokbase