func newTestClient(rt http.RoundTripper) *trace.Client { t, err := trace.NewClient(context.Background(), testProjectID, cloud.WithBaseHTTP(&http.Client{Transport: rt})) if err != nil { panic(err) } return t }
func main() { var err error api.Tracer, err = trace.NewClient(appengine.BackgroundContext(), "ellies-pad") if err != nil { panic(err) } appengine.Main() }