github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/tests/files/time15.gno (about) 1 package main 2 3 import "time" 4 5 type TimeValue time.Time 6 7 func (v *TimeValue) decode() { println("in decode") } 8 9 func main() { 10 var tv TimeValue 11 tv.decode() 12 } 13 14 // Output: 15 // in decode