Skip to content

Commit f6adfc1

Browse files
committed
Add Connect function to TARANTOOL type
1 parent 3daf282 commit f6adfc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tarantool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func init() {
1515
type TARANTOOL struct{}
1616

1717
// Connect creates a new Tarantool connection
18-
func Connect(addr string, opts tarantool.Opts) *tarantool.Connection {
18+
func (TARANTOOL) Connect(addr string, opts tarantool.Opts) *tarantool.Connection {
1919
if addr == "" {
2020
addr = "localhost:3301"
2121
}

0 commit comments

Comments
 (0)