Resolve MSP-7343

This commit is contained in:
Банченко Алексей Александрович committed 2026-03-23 13:01:39 +00:00
1 parent 5ee9d85682
commit 5ee5854831
28 files changed
+419 -198

No files matched your search

+3 -1
View File
@@ -1,10 +1,10 @@
// nolint:tagliatelle,errname
package entity
import (
"fmt"
)
// nolint:tagliatelle,godoclint
type SudirAuthError struct {
ErrorName string `json:"error"`
ErrorDescription string `json:"error_description"`
@@ -14,6 +14,7 @@ func (s *SudirAuthError) Error() string {
return fmt.Sprintf("error: %s; description: %s", s.ErrorName, s.ErrorDescription)
}
// nolint:tagliatelle,errname,godoclint
type SudirUserResponse struct {
*SudirAuthError
@@ -25,6 +26,7 @@ type SudirUserResponse struct {
Name string `json:"name"`
}
// nolint:tagliatelle,errname,godoclint
type SudirTokenResponse struct {
*SudirAuthError