mirror of
https://github.com/astaxie/beego.git
synced 2024-11-23 14:20:54 +00:00
17 lines
368 B
Go
17 lines
368 B
Go
|
// Copyright 2013 Google Inc. All rights reserved.
|
||
|
// Use of this source code is governed by the Apache 2.0
|
||
|
// license that can be found in the LICENSE file.
|
||
|
|
||
|
// +build !appengine
|
||
|
|
||
|
package cloudsql
|
||
|
|
||
|
import (
|
||
|
"errors"
|
||
|
"net"
|
||
|
)
|
||
|
|
||
|
func connect(instance string) (net.Conn, error) {
|
||
|
return nil, errors.New(`cloudsql: not supported in App Engine "flexible environment"`)
|
||
|
}
|