updated jsvm types and godoc list formatting
This commit is contained in:
+2918
-2918
File diff suppressed because it is too large
Load Diff
@@ -84,11 +84,11 @@ var macros = map[string]string{
|
|||||||
// - list: 1,2,3,10-20/n
|
// - list: 1,2,3,10-20/n
|
||||||
//
|
//
|
||||||
// The following macros are supported:
|
// The following macros are supported:
|
||||||
// - @yearly (or @annually)
|
// - @yearly (or @annually)
|
||||||
// - @monthly
|
// - @monthly
|
||||||
// - @weekly
|
// - @weekly
|
||||||
// - @daily (or @midnight)
|
// - @daily (or @midnight)
|
||||||
// - @hourly
|
// - @hourly
|
||||||
func NewSchedule(cronExpr string) (*Schedule, error) {
|
func NewSchedule(cronExpr string) (*Schedule, error) {
|
||||||
if v, ok := macros[cronExpr]; ok {
|
if v, ok := macros[cronExpr]; ok {
|
||||||
cronExpr = v
|
cronExpr = v
|
||||||
|
|||||||
Reference in New Issue
Block a user