2026-03-23 17:08:40: merge [main:2d7adad8000642a271d9ea575fab87f8373d2e5d];
Create and publish a Docker image / build-and-push-image (push) Canceled after 0s
Create and publish a Docker image / build-and-push-image (push) Canceled after 0s
This commit is contained in:
1 parent
0ad3e3dead
commit
c1bb2cf4ed
28 files changed
+417
-192
No files matched your search
+3
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user