Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import "golang.org/x/sys/windows"
- func main() {
- var bytesWritten uint32
- msg := []byte("Hallo, Welt!\r\n")
- stdout, _ := windows.GetStdHandle(-11)
- windows.WriteFile(stdout, msg, &bytesWritten, nil)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement