Closed ebuchman closed 7 years ago
You like? It's nice as long as it doesn't cause circular imports, which it could. Be great in early development to be sure.
I will add a line to coding. You can preach the gospel ;)
@ebuchman Sorry for letting this lag. Is there an actionable item to do here or is it more a :+1: for the pattern?
I think the more proper pattern is this:
var _ lc.Certifier = &StaticCertifier{}
I updated the code here.
func (o *OneSig) assertSignable() lightclient.Signable { return o }
Can we add this to a coding standard?