Skip to content

Commit

Permalink
Merge pull request #8 from p1ass/fix/user_name
Browse files Browse the repository at this point in the history
Fix username to p1ass
  • Loading branch information
p1ass authored Jul 30, 2019
2 parents 393a773 + c6445df commit 08bf46b
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 18 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 2-Clause License

Copyright (c) 2019, naoki-kishi
Copyright (c) 2019, p1ass
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

### Install
```bash
go get -u github.com/naoki-kishi/feeder
go get -u github.com/p1ass/feeder
```

### Examples
```go
import "github.com/naoki-kishi/feeder"
import "github.com/p1ass/feeder"

func fetch(){
rssCrawler := feeder.NewRSSCrawler("https://example.com/rss")
Expand All @@ -25,8 +25,8 @@ func fetch(){
Link: &feeder.Link{Href: "https://example.com/feed"},
Description: "My feeds.",
Author: &feeder.Author{
Name: "naoki-kishi",
Email: "naoki-kishi@example.com"},
Name: "p1ass",
Email: "p1ass@example.com"},
Created: time.Now(),
Items: items,
}
Expand Down
2 changes: 1 addition & 1 deletion atom_crawler.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"
"time"

"github.com/naoki-kishi/feeds"
"github.com/p1ass/feeds"
"github.com/pkg/errors"
)

Expand Down
2 changes: 1 addition & 1 deletion atom_crawler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"time"

"github.com/kr/pretty"
"github.com/naoki-kishi/feeder"
"github.com/p1ass/feeder"
)

func TestAtomFetch(t *testing.T) {
Expand Down
5 changes: 3 additions & 2 deletions feeder_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package feeder_test

import (
"github.com/kr/pretty"
"github.com/naoki-kishi/feeder"
"reflect"
"strconv"
"testing"
"time"

"github.com/kr/pretty"
"github.com/p1ass/feeder"
)

type mockFetcher struct {
Expand Down
2 changes: 1 addition & 1 deletion generator.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package feeder

import "github.com/naoki-kishi/feeds"
import "github.com/p1ass/feeds"

func (f *Feed) ToRSS() (string, error) {
return f.convert().ToRss()
Expand Down
3 changes: 2 additions & 1 deletion generator_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package feeder_test

import (
"github.com/naoki-kishi/feeder"
"testing"

"github.com/p1ass/feeder"
)

func TestItemConvert(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
module github.com/naoki-kishi/feeder
module github.com/p1ass/feeder

require (
bou.ke/monkey v1.0.1 // indirect
github.com/kr/pretty v0.1.0
github.com/naoki-kishi/feeds v1.1.1
github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95 // indirect
github.com/otiai10/marmoset v0.4.0 // indirect
github.com/otiai10/mint v1.2.3 // indirect
github.com/otiai10/opengraph v1.0.0
github.com/p1ass/feeds v1.1.1
github.com/pkg/errors v0.8.1
github.com/stretchr/testify v1.3.0 // indirect
golang.org/x/net v0.0.0-20190311183353-d8887717615a // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORN
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/naoki-kishi/feeds v1.1.1 h1:Z3T5OysMfAYHScWIcPd/O4a2mHq/Wktn5XPsyEZl3aA=
github.com/naoki-kishi/feeds v1.1.1/go.mod h1:y1xnq4XHPsg1B5xwb2Fr6gY4bHL23wXmrjD2VR9LNQY=
github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95 h1:+OLn68pqasWca0z5ryit9KGfp3sUsW4Lqg32iRMJyzs=
github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE=
github.com/otiai10/marmoset v0.4.0 h1:Hg59lQI7qQowBEdsAJ/+VDTEospTBzXX/A1Gsw4mlvA=
Expand All @@ -17,6 +15,8 @@ github.com/otiai10/mint v1.2.3 h1:PsrRBmrxR68kyNu6YlqYHbNlItc5vOkuS6LBEsNttVA=
github.com/otiai10/mint v1.2.3/go.mod h1:YnfyPNhBvnY8bW4SGQHCs/aAFhkgySlMZbrF5U0bOVw=
github.com/otiai10/opengraph v1.0.0 h1:Fal0Qx7mBWds0z2cxMMPfZh2Ld3mW61m5BBUTybajD0=
github.com/otiai10/opengraph v1.0.0/go.mod h1:X/1XWvVWxb+8migvztlPAclxuxVCIRuLhf0xLnngZ78=
github.com/p1ass/feeds v1.1.1 h1:ah6XlzYVT3RCie+KYeqOgoGvn1IepKYLjI8jzPNeMs8=
github.com/p1ass/feeds v1.1.1/go.mod h1:FV21uIHg0+tWMbO9u0qzQmf1cwF5E+nO/ZkfAu1rCAY=
github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
Expand Down
2 changes: 1 addition & 1 deletion qiita_crawler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"time"

"github.com/kr/pretty"
"github.com/naoki-kishi/feeder"
"github.com/p1ass/feeder"
)

func TestQiitaFetch(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion rss_crawler.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"
"time"

"github.com/naoki-kishi/feeds"
"github.com/p1ass/feeds"
"github.com/pkg/errors"
)

Expand Down
2 changes: 1 addition & 1 deletion rss_crawler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"time"

"github.com/kr/pretty"
"github.com/naoki-kishi/feeder"
"github.com/p1ass/feeder"
)

func TestRSSFetch(t *testing.T) {
Expand Down

0 comments on commit 08bf46b

Please sign in to comment.