kura-lab / go-openid-connect-client

OpenID Connect Relying Party Library for Golang
MIT License
0 stars 0 forks source link

Return error in defer function by named return #48

Closed kura-lab closed 4 years ago

kura-lab commented 4 years ago

Relation: https://github.com/kura-lab/go-openid-connect-client/pull/45

Actually, I wanna return errors in deffer function. so you need to implement named return in functions which has deffer function. But I'll have to pass on that this time.