Print messages to popup window that can only be minimized to tray

Assuming a simple app that ‘print’ a timestamp every 1-10 seconds for a total of 10 times, like:

package main

import (
	"fmt"
	"time"
)

func main() {
	for i := 1; i <= 10; i++ {
		fmt.Println(time.Now().Format("2006-01-02T15:04:05"))
		time.Sleep(time.Duration(i) * time.Second)
	}
}

Is there a way I can have the app creating a new popup windows where the timestamps are shown? Also the title bar of this windows should not have any minimize/maximize/close buttons, but rather a ‘minimize to tray’ one.
Suggestions?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.