mirror of
https://github.com/reactos/syzkaller-ros.git
synced 2024-11-23 03:39:38 +00:00
vendor/golang.org/x/net/context/: fix fmt with Go 1.8
See https://github.com/golang/go/issues/21337
This commit is contained in:
parent
32e992a642
commit
4bd26193d8
5
vendor/golang.org/x/net/context/go19.go
generated
vendored
5
vendor/golang.org/x/net/context/go19.go
generated
vendored
@ -2,10 +2,12 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build go1.9
|
||||
// This is broken, see https://github.com/golang/go/issues/21337
|
||||
// +build
|
||||
|
||||
package context
|
||||
|
||||
/*
|
||||
import "context" // standard library's context, as of Go 1.7
|
||||
|
||||
// A Context carries a deadline, a cancelation signal, and other values across
|
||||
@ -18,3 +20,4 @@ type Context = context.Context
|
||||
// A CancelFunc does not wait for the work to stop.
|
||||
// After the first call, subsequent calls to a CancelFunc do nothing.
|
||||
type CancelFunc = context.CancelFunc
|
||||
*/
|
||||
|
2
vendor/golang.org/x/net/context/pre_go19.go
generated
vendored
2
vendor/golang.org/x/net/context/pre_go19.go
generated
vendored
@ -2,8 +2,6 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build !go1.9
|
||||
|
||||
package context
|
||||
|
||||
import "time"
|
||||
|
Loading…
Reference in New Issue
Block a user