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