On Saturday, November 10, 2018 at 5:20:15 AM UTC-4, Shulhan wrote:
>
> On Sat, 10 Nov 2018 00:54:50 -0800 (PST) 
> T L <tapi...@gmail.com <javascript:>> wrote: 
>
> > 
> > $ go build -v -x 
> > WORK=/tmp/go-build304435862 
> > Fetching https://go101.org/tinyrouter?go-get=1 
> > Parsing meta tags from https://go101.org/tinyrouter?go-get=1 (status 
> > code 404) 
>
> Are you familiar with "Remote import path"? [1] 
>
>   If the import path is not a known code hosting site and also lacks a 
>   version control qualifier, the go tool attempts to fetch the import 
>   over https/http and looks for a <meta> tag in the document's HTML 
>   <head>. 
>
>
> [1] https://golang.org/cmd/go/#hdr-Remote_import_paths 
>
>
> -- 
> { "github":"github.com/shuLhan", "site":"kilabit.info" } 
>


But the go101.org is not intended to serve any code repository.
This is why I use the replace line in go.mod.

So my package import path must be locked as "github.com/...." if go101.org 
doesn't provide the repository meta?
If this is true, I feel the go 1.11 module feature is not much useful.

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

Reply via email to