mrjones / oauth

OAuth 1.0 implementation in go (golang).
http://www.mrjon.es
MIT License
269 stars 119 forks source link

Consumer holds a nonceGenerator interface instance #51

Closed RobHoman closed 8 years ago

RobHoman commented 8 years ago

Due to a line changed in PR #48 the tests no longer compiled

The issue is that Consumer should be holding an instance of the nonceGenerator interface so that the tests can mock that dependency. PR #48 had switched this dependency to explicitly be a *lockedNonceGenerator

Tagging @dsajanice to make sure this is reasonable since she authored #48

RobHoman commented 8 years ago

Ping @mrjones

mrjones commented 8 years ago

Thanks!