本站源代码
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

16 行
246B

  1. package openid
  2. import (
  3. "net/http"
  4. )
  5. type OpenID struct {
  6. urlGetter httpGetter
  7. }
  8. func NewOpenID(client *http.Client) *OpenID {
  9. return &OpenID{urlGetter: &defaultGetter{client: client}}
  10. }
  11. var defaultInstance = NewOpenID(http.DefaultClient)
上海开阖软件有限公司 沪ICP备12045867号-1