blob: 5b52b303124b9ce2d41f4e0d4e0a69b84b4a1f4d [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package util
import "net/http"
type iface interface {
Method()
}
type impl struct{ Content string }
func (i *impl) Method() {}
var _ iface = (*impl)(nil)
func newRequest() *http.Request {
r, err := http.NewRequest("GET", "http://does-not-matter", nil)
if err != nil {
panic(err)
}
return r
}