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

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  	"time"
     6  )
     7  
     8  func test(time string, t time.Time) string {
     9  	return time
    10  }
    11  
    12  func main() {
    13  	str := test("test", time.Now())
    14  	fmt.Println(str)
    15  }
    16  
    17  // Output:
    18  // test