mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 18:44:16 +00:00
d77176912b
* Migrate to go modules * make vendor * Update mvdan.cc/xurls * make vendor * Update code.gitea.io/git * make fmt-check * Update github.com/go-sql-driver/mysql * make vendor
18 lines
324 B
Go
18 lines
324 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 (
|
|
"net"
|
|
|
|
"appengine/cloudsql"
|
|
)
|
|
|
|
func connect(instance string) (net.Conn, error) {
|
|
return cloudsql.Dial(instance)
|
|
}
|