mingzaily opened a new pull request, #1029:
URL: https://github.com/apache/rocketmq-clients/pull/1029

   https://github.com/apache/rocketmq-clients/issues/1028
   
   1. Replace direct environment variable access with Go's standard library 
os.UserHomeDir() function, which is a more reliable and cross-platform method 
for obtaining the user's home directory
   2. Add error handling to gracefully fall back to the system temporary 
directory (os.TempDir()) when retrieving the home directory fails
   3. Use filepath.Join() instead of string concatenation to ensure safe and 
cross-platform path handling


-- 
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