Last active
March 2, 2022 16:25
-
-
Save tolgaOzen/31f2684a8ad3dc51afa2c8dcdd5446d9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
response, err := api.User.Create(user.Create{ | |
ID: "1", | |
Name: "tolga", | |
GroupID: "1", | |
RoleNames: []string{"manager"}, | |
Attributes: map[string]interface{}{ | |
"tenure": 7, | |
}, | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment