updated jsvm types and godoc list formatting
This commit is contained in:
parent
67fa47b1bb
commit
fef6e584b7
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
|
||||||
|
|
Loading…
Reference in New Issue