How to create a generic return type for OAuth Authentication using Go

前端 未结 0 579
无人及你
无人及你 2020-12-08 03:48

I want to abstract the logic for oauth authentication and I\'ve built the following code:

provider, _ := utils.ChooseProviderFromString(data.Provider)
user, _         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题