github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/tests/files/time11_stdlibs.gno (about)

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  	"time"
     6  )
     7  
     8  const df = time.Minute * 30
     9  
    10  func main() {
    11  	println(df)
    12  	fmt.Printf("df: %v %T\n", df, df)
    13  }
    14  
    15  // Output:
    16  // 30m0s
    17  // df: 1800000000000 int64