Skip to content

Commit

Permalink
Rename script extname
Browse files Browse the repository at this point in the history
  • Loading branch information
wspl committed Feb 17, 2017
1 parent a0db999 commit 971e123
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ $ go get github.com/wspl/creeper

#### Hello World!

Create `hacker_news.crr`
Create `hacker_news.crs`

```
page(@page=1) = "https://news.ycombinator.com/news?p={@page}"
Expand All @@ -34,7 +34,7 @@ package main
import "github.com/wspl/creeper"

func main() {
c := creeper.Open("./hacker_news.crr")
c := creeper.Open("./hacker_news.crs")
c.Array("news").Each(func(c *creeper.Creeper) {
println("title: ", c.String("title"))
println("site: ", c.String("site"))
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion main/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func main() {
// println("cover: ", c.String("cover"))
// println("=================================")
//})
c := creeper.Open("./example.crr")
c := creeper.Open("./example.crs")
c.Array("news").Each(func(c *creeper.Creeper) {
println("title: ", c.String("title"))
println("site: ", c.String("site"))
Expand Down

0 comments on commit 971e123

Please sign in to comment.