Skip to content

Commit

Permalink
docs: add instructions for getting and importing the package
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Figueiredo committed Jul 16, 2019
1 parent 0005130 commit e843a09
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions doc.go
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
Expand Down

0 comments on commit e843a09

Please sign in to comment.