Skip to content

Commit 02c0d98

Browse files
committed
Added further comments
1 parent 4bbc7b4 commit 02c0d98

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

shell32_fallback.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,20 @@ import (
3636
"runtime"
3737
)
3838

39+
// The functions defined below allow compile on non-Windows OS. The caller
40+
// may choose to not call those functions based on runtime.GOOS value.
41+
42+
// GetDocumentsFolder returns the Document folder
3943
func GetDocumentsFolder() (string, error) {
4044
return "", fmt.Errorf("operating system not supported: %s", runtime.GOOS)
4145
}
4246

47+
// GetLocalAppDataFolder returns the LocalAppData folder
4348
func GetLocalAppDataFolder() (string, error) {
4449
return "", fmt.Errorf("operating system not supported: %s", runtime.GOOS)
4550
}
4651

52+
// GetRoamingAppDataFolder returns the AppData folder
4753
func GetRoamingAppDataFolder() (string, error) {
4854
return "", fmt.Errorf("operating system not supported: %s", runtime.GOOS)
4955
}

0 commit comments

Comments
 (0)