Files
llgo/cl/_testdata/foo/foo.go
2025-04-03 16:26:11 +08:00

34 lines
332 B
Go

package foo
func Bar() any {
return struct{ V int }{1}
}
func F() any {
return struct{ v int }{1}
}
type Foo struct {
pb *byte
F float32
}
func (v Foo) Pb() *byte {
return v.pb
}
type Gamer interface {
initGame()
Load()
}
type Game struct {
}
func (g *Game) initGame() {
}
func (g *Game) Load() {
println("load")
}