-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add instructions for getting and importing the package
- Loading branch information
Rob Figueiredo
committed
Jul 16, 2019
1 parent
0005130
commit e843a09
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,18 @@ | ||
/* | ||
Package cron implements a cron spec parser and job runner. | ||
Installation | ||
To download the specific tagged release, run: | ||
go get github.com/robfig/cron/[email protected] | ||
Import it in your program as: | ||
import "github.com/robfig/cron/v3" | ||
It requires Go 1.11 or later due to usage of Go Modules. | ||
Usage | ||
Callers may register Funcs to be invoked on a given schedule. Cron will run | ||
|