gocron-server/pkg/setup_test.go
2022-02-04 20:23:04 +01:00

13 lines
181 B
Go

package gocron_server_test
import "fmt"
type Counter struct {
Current int
}
func (c *Counter) Increment() (string, error) {
c.Current += 1
return fmt.Sprint(c.Current), nil
}