cloudsql_vm.go 390 B

1234567891011121314151617
  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. //go:build !appengine
  5. // +build !appengine
  6. package cloudsql
  7. import (
  8. "errors"
  9. "net"
  10. )
  11. func connect(instance string) (net.Conn, error) {
  12. return nil, errors.New(`cloudsql: not supported in App Engine "flexible environment"`)
  13. }