Skip to content

Commit d8af331

Browse files
committed
fixed adapter reference issue
1 parent d308c28 commit d8af331

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package adapters
1+
package adapter
22

33
import (
44
"fmt"

octopus/models.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ package octopus
33
import (
44
"io"
55
"time"
6+
7+
"github.com/rapidclock/web-octopus/adapter"
68
)
79

810
// Node is used to represent each crawled link and its associated depth of crawl.
@@ -39,7 +41,7 @@ type CrawlOptions struct {
3941
CrawlRate time.Duration
4042
RespectRobots bool
4143
IncludeBody bool
42-
OpAdapter OutputAdapter
44+
OpAdapter adapter.OutputAdapter
4345
}
4446

4547
type CrawlOutput struct {

0 commit comments

Comments
 (0)