initial commit
This commit is contained in:
12
pkg/setup_test.go
Normal file
12
pkg/setup_test.go
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user