libgo: update to Go 1.11
[official-gcc.git] / libgo / go / cmd / go / internal / modfetch / noweb.go
blob9d713dcc6696877224011eceec547a2f4e5068db
1 // Copyright 2018 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 // +build cmd_go_bootstrap
7 package modfetch
9 import (
10 "fmt"
11 "io"
14 func webGetGoGet(url string, body *io.ReadCloser) error {
15 return fmt.Errorf("no network in go_bootstrap")
18 func webGetBytes(url string, body *[]byte) error {
19 return fmt.Errorf("no network in go_bootstrap")
22 func webGetBody(url string, body *io.ReadCloser) error {
23 return fmt.Errorf("no network in go_bootstrap")