Add UserAgent
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler committed 2019-10-16 19:25:59 -04:00
1 parent e245573361
commit 3bd0ce72a5
3 files changed
+46 -8

No files matched your search

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