yuchanns commented on PR #5066:
URL: https://github.com/apache/opendal/pull/5066#issuecomment-2591634164

   Just for remind:
   
   > Error: ..\..\delete.go:58:25: undefined: unix.BytePtrFromString
   
   The respective function in Windows is 
[windows.UTF16PtrFromString](https://pkg.go.dev/golang.org/x/sys/windows#UTF16PtrFromString).
 FYI: https://pkg.go.dev/golang.org/x/sys/windows
   
   Maybe you can create a set of `util_$OS.go` files to implement common 
functions across multiple platforms.
   ```
   util_windows.go
   util_nix.go
   ```
   And export `PtrFromString`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to