Skip to content

Commit

Permalink
Merge pull request #2 from Fred07/feature/update-readme
Browse files Browse the repository at this point in the history
Update example of readme
  • Loading branch information
Fred07 authored Mar 16, 2020
2 parents 70ab2aa + c449da2 commit 131f02f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Gron provides a clear syntax for writing and deploying cron jobs.
## Installation

```sh
$ go get github.com/roylee0704/gron
$ go get github.com/fred07/gron
```

## Usage
Expand All @@ -27,7 +27,7 @@ package main
import (
"fmt"
"time"
"github.com/roylee0704/gron"
"github.com/fred07/gron"
)

func main() {
Expand All @@ -54,7 +54,7 @@ gron.Every(1*time.Hour)
Also support `Day`, `Week` by importing `gron/xtime`:

```go
import "github.com/roylee0704/gron/xtime"
import "github.com/fred07/gron/xtime"

gron.Every(1 * xtime.Day)
gron.Every(1 * xtime.Week)
Expand Down Expand Up @@ -122,8 +122,8 @@ package main

import (
"fmt"
"github.com/roylee0704/gron"
"github.com/roylee0704/gron/xtime"
"github.com/fred07/gron"
"github.com/fred07/gron/xtime"
)

type PrintJob struct{ Msg string }
Expand Down

0 comments on commit 131f02f

Please sign in to comment.