Golang中的GetSpecialFolder等效项

I'm trying to get the temp folder of windows, other than a fixed path C:\Windows\Temp, I'd like to use some API similar to GetSpecialFolder in VBScript.

Is there anything like that?

You use os.TempDir() for that.