logical: GoStringer for Auth
This commit is contained in:
parent
5676373742
commit
906f81b588
|
@ -1,5 +1,9 @@
|
|||
package logical
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
// Auth is the resulting authentication information that is part of
|
||||
// Response for credential backends.
|
||||
type Auth struct {
|
||||
|
@ -17,3 +21,7 @@ type Auth struct {
|
|||
// audit log.
|
||||
Metadata map[string]string
|
||||
}
|
||||
|
||||
func (a *Auth) GoString() string {
|
||||
return fmt.Sprintf("*%#v", *a)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue