packagemainimport("fmt""github.com/taosdata/driver-go/v2/wrapper")funcmain(){conn,err:=wrapper.TaosConnect("localhost","root","taosdata","",6030)deferwrapper.TaosClose(conn)iferr!=nil{fmt.Println("fail to connect, err:",err)}else{fmt.Println("connected")}}