miniflux/vendor/google.golang.org/appengine/delay/delay_pre17.go

20 lines
374 B
Go
Raw Normal View History

2018-07-07 06:18:14 +02:00
// Copyright 2017 Google Inc. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
//+build !go1.7
package delay
import (
"reflect"
"golang.org/x/net/context"
)
var contextType = reflect.TypeOf((*context.Context)(nil)).Elem()
func isContext(t reflect.Type) bool {
return t == contextType
}