Skip to content

Commit

Permalink
goimports file
Browse files Browse the repository at this point in the history
  • Loading branch information
wujunwei928 committed Sep 17, 2024
1 parent 949fc5c commit 480a885
Show file tree
Hide file tree
Showing 16 changed files with 15 additions and 31 deletions.
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ import (
"os/signal"
"time"

"github.com/wujunwei928/parse-video/parser"

"github.com/gin-gonic/gin"
"github.com/wujunwei928/parse-video/parser"
)

type HttpResponse struct {
Expand Down
3 changes: 1 addition & 2 deletions parser/acfun.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ import (
"regexp"
"strings"

"github.com/tidwall/gjson"

"github.com/go-resty/resty/v2"
"github.com/tidwall/gjson"
)

type acFun struct {
Expand Down
3 changes: 1 addition & 2 deletions parser/doupai.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ import (
"fmt"
"net/url"

"github.com/tidwall/gjson"

"github.com/go-resty/resty/v2"
"github.com/tidwall/gjson"
)

type douPai struct {
Expand Down
3 changes: 1 addition & 2 deletions parser/douyin.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ import (
"regexp"
"strings"

"github.com/tidwall/gjson"

"github.com/go-resty/resty/v2"
"github.com/tidwall/gjson"
)

type douYin struct{}
Expand Down
3 changes: 1 addition & 2 deletions parser/haokan.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ import (
"errors"
"net/url"

"github.com/tidwall/gjson"

"github.com/go-resty/resty/v2"
"github.com/tidwall/gjson"
)

type haoKan struct {
Expand Down
3 changes: 1 addition & 2 deletions parser/huoshan.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ package parser
import (
"errors"

"github.com/tidwall/gjson"

"github.com/go-resty/resty/v2"
"github.com/tidwall/gjson"
)

type huoShan struct {
Expand Down
3 changes: 1 addition & 2 deletions parser/kuaishou.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ import (
"fmt"
"strings"

"github.com/tidwall/gjson"

"github.com/go-resty/resty/v2"
"github.com/tidwall/gjson"
)

type kuaiShou struct{}
Expand Down
3 changes: 1 addition & 2 deletions parser/lishipin.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ import (
"strings"
"time"

"github.com/tidwall/gjson"

"github.com/go-resty/resty/v2"
"github.com/tidwall/gjson"
)

type liShiPin struct {
Expand Down
3 changes: 1 addition & 2 deletions parser/pipixia.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ import (
"errors"
"strings"

"github.com/tidwall/gjson"

"github.com/go-resty/resty/v2"
"github.com/tidwall/gjson"
)

type piPiXia struct {
Expand Down
3 changes: 1 addition & 2 deletions parser/quanminkge.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ import (
"regexp"
"strings"

"github.com/tidwall/gjson"

"github.com/go-resty/resty/v2"
"github.com/tidwall/gjson"
)

type quanMinKGe struct {
Expand Down
3 changes: 1 addition & 2 deletions parser/sixroom.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ import (
"net/url"
"strings"

"github.com/tidwall/gjson"

"github.com/go-resty/resty/v2"
"github.com/tidwall/gjson"
)

type sixRoom struct {
Expand Down
3 changes: 1 addition & 2 deletions parser/weibo.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ import (
"net/url"
"strings"

"github.com/tidwall/gjson"

"github.com/go-resty/resty/v2"
"github.com/tidwall/gjson"
)

type weiBo struct {
Expand Down
3 changes: 1 addition & 2 deletions parser/weishi.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ import (
"errors"
"net/url"

"github.com/tidwall/gjson"

"github.com/go-resty/resty/v2"
"github.com/tidwall/gjson"
)

type weiShi struct {
Expand Down
3 changes: 1 addition & 2 deletions parser/xigua.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ import (
"regexp"
"strings"

"github.com/tidwall/gjson"

"github.com/go-resty/resty/v2"
"github.com/tidwall/gjson"
)

type xiGua struct {
Expand Down
1 change: 0 additions & 1 deletion parser/xinpianchang.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"bytes"

"github.com/PuerkitoBio/goquery"

"github.com/go-resty/resty/v2"
"github.com/tidwall/gjson"
)
Expand Down
3 changes: 1 addition & 2 deletions parser/zuiyou.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ import (
"net/url"
"strconv"

"github.com/tidwall/gjson"

"github.com/go-resty/resty/v2"
"github.com/tidwall/gjson"
)

type zuiYou struct{}
Expand Down

0 comments on commit 480a885

Please sign in to comment.