Skip to content

Commit

Permalink
User: change func String() from pointer to non-pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
TerraTalpi committed Aug 19, 2021
1 parent ded4e12 commit 27779ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion User.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type PasswordProfile struct {
Password string `json:"password,omitempty"`
}

func (u *User) String() string {
func (u User) String() string {
return fmt.Sprintf("User(ID: \"%v\", BusinessPhones: \"%v\", DisplayName: \"%v\", GivenName: \"%v\", "+
"Mail: \"%v\", MobilePhone: \"%v\", PreferredLanguage: \"%v\", Surname: \"%v\", UserPrincipalName: \"%v\", "+
"ActivePhone: \"%v\", DirectAPIConnection: %v)",
Expand Down

0 comments on commit 27779ba

Please sign in to comment.