Playground
gnomod.toml
module = "gno.land/r/g1y2tswmrtlany2ffmpyc0uyunk4gt4gv8gtf736/myrealm" gno = "0.9" [addpkg] creator = "g1y2tswmrtlany2ffmpyc0uyunk4gt4gv8gtf736" height = 833126 max_deposit = "10000000ugnot"
myrealm.gno
package myrealm
import "strconv"
var count int
func Increment(_ realm) int {
count++
return count
}
func Render(path string) string {
return "Count: " + strconv.Itoa(count)
}