mirror of
https://github.com/golang/go
synced 2024-11-19 01:34:40 -07:00
8cc9c49348
After this change is submitted the dependants on go.talks/pkg/playground talks will be updated to use this one and the old package will be deleted. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/11759043
21 lines
370 B
Go
21 lines
370 B
Go
// Copyright 2012 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 playground
|
|
|
|
import (
|
|
"log"
|
|
"net/http"
|
|
)
|
|
|
|
func client(r *http.Request) *http.Client {
|
|
return http.DefaultClient
|
|
}
|
|
|
|
func report(r *http.Request, err error) {
|
|
log.Println(err)
|
|
}
|