github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/tests/files/time14_native.gno (about) 1 package main 2 3 import ( 4 "fmt" 5 "time" 6 ) 7 8 var t time.Time 9 10 func f() time.Time { 11 time := t 12 return time 13 } 14 15 func main() { 16 fmt.Println(f()) 17 } 18 19 // Output: 20 // 0001-01-01 00:00:00 +0000 UTC