kolibrios-fun/programs/develop/golang/main.go
pavelyakov b9a45ff5fe GOLANG: addition
git-svn-id: svn://kolibrios.org@7858 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-03 09:30:20 +00:00

20 lines
227 B
Go

package kernel
import "os"
func Load() {
x := "test"
for true {
switch os.Event() {
case 1:
os.Redraw(1)
os.Window(50,250,450,200,x)
os.Redraw(2)
os.Sleep(100)
case 3:
os.Exit()
}
}
}