Documentation
¶
Overview ¶
win32 is a collection of useful bindings to Win32 API that are not available in the standard golang windows/syscall package.
Example ¶
package main
import (
"fmt"
win32 "github.com/arduino/go-win32-utils"
)
func main() {
d, err := win32.GetDocumentsFolder()
fmt.Printf("Documents folder: [err=%v] %s\n", err, d)
d, err = win32.GetLocalAppDataFolder()
fmt.Printf("Local AppData folder: [err=%v] %s\n", err, d)
d, err = win32.GetRoamingAppDataFolder()
fmt.Printf("Roaming AppData folder: [err=%v] %s\n", err, d)
}
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDocumentsFolder ¶
GetDocumentsFolder returns the Document folder
func GetLocalAppDataFolder ¶
GetLocalAppDataFolder returns the LocalAppData folder
func GetRoamingAppDataFolder ¶
GetRoamingAppDataFolder returns the AppData folder
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.