-
I'll give the example of the fyne.io readme demo:
```go
package main
import (
"fyne.io/fyne/widget"
"fyen.io/fyne/app"
)
func main() {
app := app.New()
w := app.NewWindow("Hel…
-
```gop
import (
"log"
"os"
)
log.Println("hello", true)
logger := log.New(os.Stdout, "logger: ", log.Lshortfile)
logger.Println("foo","bar", false, 666)
```
I tried to qrun the …
-
```go
- goto
- break
- continue
- fallthrough
```
-
https://github.com/goplus/gop/blob/master/cl/expr_test.go#L37
```go
func TestNew2(t *testing.T) {
cltest.Expect(t, `
a := new([2]int)
a[0] = 2
println("a:", a[0])
`,
"a: 2\n",
)…
-
Not sure if this is a bug or I am not doing it correctly however apart from the predefined colors raylib also seems to offer the ability to define your own colors using RGBA values.
I am however re…
ghost updated
4 years ago
-
-
fix commit: https://github.com/kumakichi/gop-wiki/commit/7b1a1fe703fcfd4157717b0061e766e2673a32b6
-
`
j := 0
arr := [1, 3, 5, 7, 11, 13, 17]
i := 0
for i = 0; i < len(arr); i++ {
go func () {
for j = 0; j < len(arr); j++ {
println(j)
}
}()
}
`
use qrun compil…
-
In the readme it says all goplus programs will be valid go programs. This is still not the case. Making this the case should be the case should be the main priority. Already features have been impleme…
-