func findAttribute(n *html.Node, key string) string {
    if a := n.Attr; a != nil {
        for i := range a {
            if a[i].Key == key {
                return a[i].Val
            }
        }
    }
    return ""
}
// findAttribute returns the value of the key provided
// within the attributes of the given Node
findAttribute returns the value of the key provided
within the attributes of the given Node
// findAttribute returns the value of the key provided // within the attributes of the given Node
func findAttribute(n *html.Node, key string) string {
    if a := n.Attr; a != nil {
        for i := range a {
            if a[i].Key == key {
                return a[i].Val
            }
        }
    }
    return ""
}
func findAttribute ( n * html . Node , key string ) string { if a := n . Attr ; a != nil { for i := range a { if a [ i ] . Key == key { return a [ i ] . Val } } } return " " }
findAttribute returns the value of the key provided
within the attributes of the given Node
findAttribute returns the value of the key provided within the attributes of the given Node