mirror of
https://github.com/hanzoai/yaegi.git
synced 2026-10-01 00:49:47 +00:00
16 lines
185 B
Go
16 lines
185 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
func check() (result bool, err error) {
|
|
return true, nil
|
|
}
|
|
|
|
func main() {
|
|
result, error := check()
|
|
fmt.Println(result, error)
|
|
}
|
|
|
|
// Output:
|
|
// true <nil>
|