Skip to content

Commit

Permalink
remove duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
Hǎiliàng Wáng committed Dec 12, 2016
1 parent 7375300 commit 03be02e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions expr/getter.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,6 @@ func GetHref(n *html.Node) *string {
return GetAttr(n, "href")
}

func GetSrc(n *html.Node) *string {
if n == nil {
return nil
}
return GetAttr(n, "src")
}

func GetPat(pat []string) string {
if len(pat) > 1 {
panic("pat should be either ommited or only one string.")
Expand Down

0 comments on commit 03be02e

Please sign in to comment.