We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I find the second one doesn't output correctly
type GenerateBasic struct { Client ClientInfo UserID string CreateAt time.Time TokenInfo TokenInfo Request *http.Request } type AuthorizeGenerate interface { Token(ctx context.Context, data *GenerateBasic) (code string, err error) } type AccessGenerate interface { Token(ctx context.Context, data *GenerateBasic, isGenRefresh bool) (access, refresh string, err error) }
type ( // GenerateBasic provide the basis of the generated token data GenerateBasic struct { Client ClientInfo UserID string CreateAt time.Time TokenInfo TokenInfo Request *http.Request } // AuthorizeGenerate generate the authorization code interface AuthorizeGenerate interface { Token(ctx context.Context, data *GenerateBasic) (code string, err error) } // AccessGenerate generate the access and refresh tokens interface AccessGenerate interface { Token(ctx context.Context, data *GenerateBasic, isGenRefresh bool) (access, refresh string, err error) } )
The text was updated successfully, but these errors were encountered:
Will look into this. I might have an idea of what's happening
Sorry, something went wrong.
No branches or pull requests
Hello, I find the second one doesn't output correctly
The text was updated successfully, but these errors were encountered: