Change the small icon in the top-left corner of the current console (Command Prompt).
package main
import (
"os"
"github.com/nyaosorg/go-windows-consoleicon"
)
const icon_restore = true
func main() {
closer, err := consoleicon.SetFrom(`C:\Windows\System32\notepad.exe`)
if err != nil {
return
}
defer closer(icon_restore)
var dummy [1]byte
os.Stdin.Read(dummy[:])
}