(tok html.Token, key string)
| 269 | } |
| 270 | |
| 271 | func getAttribute(tok html.Token, key string) string { |
| 272 | for _, attr := range tok.Attr { |
| 273 | if attr.Key == key { |
| 274 | return attr.Val |
| 275 | } |
| 276 | } |
| 277 | return "" |
| 278 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…