counter.gno

0.16 Kb ยท 14 lines
 1package counter
 2
 3import "strconv"
 4
 5var counter int
 6
 7func Increment() int {
 8	counter++
 9	return counter
10}
11
12func Render(_ string) string {
13	return strconv.Itoa(counter)
14}