github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/examples/gno.land/r/demo/tests/z1_filetest.gno (about)

     1  package main
     2  
     3  import (
     4  	"gno.land/r/demo/tests"
     5  )
     6  
     7  func main() {
     8  	println(tests.Counter())
     9  	tests.IncCounter()
    10  	println(tests.Counter())
    11  }
    12  
    13  // Output:
    14  // 0
    15  // 1