github.com/timstclair/heapster@v0.20.0-alpha1/Godeps/_workspace/src/google.golang.org/appengine/cloudsql/cloudsql_classic.go (about)

     1  // Copyright 2013 Google Inc. All rights reserved.
     2  // Use of this source code is governed by the Apache 2.0
     3  // license that can be found in the LICENSE file.
     4  
     5  // +build appengine
     6  
     7  package cloudsql
     8  
     9  import (
    10  	"net"
    11  
    12  	"appengine/cloudsql"
    13  )
    14  
    15  func connect(instance string) (net.Conn, error) {
    16  	return cloudsql.Dial(instance)
    17  }