13 lines
177 B
Go
13 lines
177 B
Go
|
package connection
|
||
|
|
||
|
import "net"
|
||
|
|
||
|
func connect() {
|
||
|
var gbxConnString string
|
||
|
conn, err := net.Dial("tcp", gbxConnString)
|
||
|
if err != nil {
|
||
|
panic(err)
|
||
|
}
|
||
|
defer conn.Close()
|
||
|
}
|