mirror of
https://github.com/traefik/yaegi.git
synced 2026-06-01 18:37:56 +00:00
15 lines
117 B
Go
15 lines
117 B
Go
package main
|
|
|
|
type T struct {
|
|
bool
|
|
}
|
|
|
|
var t = T{true}
|
|
|
|
func main() {
|
|
println(t.bool && true)
|
|
}
|
|
|
|
// Output:
|
|
// true
|