blob: 4a9cf43927fd7165e95c5090c1b63c536833c0b2 [file] [log] [blame]
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !appengine
package app
import (
// requestContext returns the Context object for a given request.
func requestContext(r *http.Request) context.Context {
return r.Context()
func errorf(_ context.Context, format string, args ...interface{}) {
log.Printf(format, args...)