// Get returns an imgurclient func Get(con *data.Context) *imgur.Client { var imgurclient imgur.Client imgurclient.ImgurClientID = config.ImgurClientID imgurclient.MashapeKey = config.MashapeKey imgurclient.HTTPClient = httpClient.Get(con) imgurclient.Log = con.Log return &imgurclient }
// Get creates a client for go-URLextract func Get(con *data.Context) URLextract.Client { var conf URLextract.Client conf.HTTPClient = httpClient.Get(con) conf.Log = con.Log conf.AmazonAdID = config.AmazonAdID conf.ImgurClientID = config.ImgurClientID return conf }