Closed sxllwx closed 8 months ago
The documentation incorrectly uses os.Clearenv to clear specific environment variables. In fact, we should use os.Unsetenv.
os.Clearenv
os.Unsetenv
The APIs related to these two functions are as follows:
https://pkg.go.dev/os#Clearenv https://pkg.go.dev/os#Unsetenv
thanks!
The documentation incorrectly uses
os.Clearenv
to clear specific environment variables. In fact, we should useos.Unsetenv
.The APIs related to these two functions are as follows:
https://pkg.go.dev/os#Clearenv https://pkg.go.dev/os#Unsetenv