Add UserAgent
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler
2019-10-16 19:25:59 -04:00
parent e245573361
commit 3bd0ce72a5
3 changed files with 46 additions and 8 deletions

View File

@ -60,6 +60,10 @@ func main() {
})
}
opts = append(opts, &linkinfo.HttpOptions{
UserAgent: "LinkInfo/1.0",
})
api = linkinfo.New(opts...)
var err error