You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
errormessage:
varlinkbridge_windows.go:47:9: cannot use PipeCon literal (type PipeCon) as type *ctxio.Conn in assignment
varlink\bridge_windows.go:49:3: c.Reader undefined (type Connection has no field or method Reader)
varlink\go@v0.3.0\varlink\bridge_windows.go:50:3: c.Writer undefined (type Connection has no field or method Writer)
errormessage:
varlinkbridge_windows.go:47:9: cannot use PipeCon literal (type PipeCon) as type *ctxio.Conn in assignment
varlink\bridge_windows.go:49:3: c.Reader undefined (type Connection has no field or method Reader)
varlink\go@v0.3.0\varlink\bridge_windows.go:50:3: c.Writer undefined (type Connection has no field or method Writer)
i changed it the same code in bridge.c
Adding import
"github.com/varlink/go/varlink/internal/ctxio"
change line 48-1:
c.conn = ctxio.NewConn(PipeCon{nil, cmd, &r, &w})
remove lines:
//c.Reader = bufio.NewReader(r)
//c.Writer = bufio.NewWriter(w)
Is this correct ?
The text was updated successfully, but these errors were encountered: