Skip to content

Commit e843a09

Browse files
author
Rob Figueiredo
committed
docs: add instructions for getting and importing the package
1 parent 0005130 commit e843a09

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

doc.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
/*
22
Package cron implements a cron spec parser and job runner.
33
4+
Installation
5+
6+
To download the specific tagged release, run:
7+
8+
go get github.com/robfig/cron/[email protected]
9+
10+
Import it in your program as:
11+
12+
import "github.com/robfig/cron/v3"
13+
14+
It requires Go 1.11 or later due to usage of Go Modules.
15+
416
Usage
517
618
Callers may register Funcs to be invoked on a given schedule. Cron will run

0 commit comments

Comments
 (0)