Skip to content

Commit

Permalink
github.com/qiniu/hdq => github.com/goplus/hdq
Browse files Browse the repository at this point in the history
  • Loading branch information
xushiwei committed Feb 7, 2022
1 parent d48967b commit 7f30ec9
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
hdq - HTML DOM Query Language for Go+
========

[![Build Status](https://github.com/qiniu/hdq/actions/workflows/go.yml/badge.svg)](https://github.com/qiniu/hdq/actions/workflows/go.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/qiniu/hdq)](https://goreportcard.com/report/github.com/qiniu/hdq)
[![GitHub release](https://img.shields.io/github/v/tag/qiniu/hdq.svg?label=release)](https://github.com/qiniu/hdq/releases)
[![Build Status](https://github.com/goplus/hdq/actions/workflows/go.yml/badge.svg)](https://github.com/goplus/hdq/actions/workflows/go.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/goplus/hdq)](https://goreportcard.com/report/github.com/goplus/hdq)
[![GitHub release](https://img.shields.io/github/v/tag/qiniu/hdq.svg?label=release)](https://github.com/goplus/hdq/releases)
[![Coverage Status](https://codecov.io/gh/qiniu/hdq/branch/main/graph/badge.svg)](https://codecov.io/gh/qiniu/hdq)
[![Language](https://img.shields.io/badge/language-Go+-blue.svg)](https://github.com/goplus/gop)
[![GoDoc](https://img.shields.io/badge/godoc-reference-teal.svg)](https://pkg.go.dev/mod/github.com/qiniu/hdq)
[![GoDoc](https://img.shields.io/badge/godoc-reference-teal.svg)](https://pkg.go.dev/mod/github.com/goplus/hdq)

## Summary about hdq

Expand All @@ -19,7 +19,7 @@ hdq is a Go+ package for processing HTML documents.
How to collect all links of a html page? If you use `hdq`, it is very easy.

```go
import "github.com/qiniu/hdq"
import "github.com/goplus/hdq"

func links(url interface{}) []string {
doc := hdq.Source(url)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/qiniu/hdq
module github.com/goplus/hdq

go 1.16

Expand Down
6 changes: 3 additions & 3 deletions hdq.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ import (
"errors"
"io"

"github.com/qiniu/hdq/stream"
"github.com/goplus/hdq/stream"
"golang.org/x/net/html"

_ "github.com/qiniu/hdq/stream/http"
_ "github.com/qiniu/hdq/stream/zip"
_ "github.com/goplus/hdq/stream/http"
_ "github.com/goplus/hdq/stream/zip"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion stream/http/httpstrm.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"io"
"net/http"

"github.com/qiniu/hdq/stream"
"github.com/goplus/hdq/stream"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion stream/zip/zipstrm.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"strings"
"syscall"

"github.com/qiniu/hdq/stream"
"github.com/goplus/hdq/stream"
)

// -------------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion tutorial/01-Links/links.gop
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import (
"os"
"github.com/qiniu/hdq"
"github.com/goplus/hdq"
)

func links(r interface{}) []string {
Expand Down
2 changes: 1 addition & 1 deletion tutorial/02-GithubRepos/repos.gop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package repos

import (
"github.com/qiniu/hdq"
"github.com/goplus/hdq"
)

// -----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion tutorial/02-GithubRepos/repos_test.gop
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"testing"

"github.com/qiniu/hdq"
"github.com/goplus/hdq"
)

const outTestNew = `{
Expand Down

0 comments on commit 7f30ec9

Please sign in to comment.