We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e004e4 commit 6e23e9aCopy full SHA for 6e23e9a
services/user-svc/internal/hwkc/models.go
@@ -1,3 +1,4 @@
1
+//nolint:tagliatelle // kc API uses camelCase
2
package hwkc
3
4
import "strings"
@@ -9,12 +10,12 @@ type User struct {
9
10
type Organization struct {
11
ID *string `json:"id,omitempty"`
12
Name *string `json:"name,omitempty"`
- DisplayName *string `json:"display_name,omitempty"`
13
+ DisplayName *string `json:"displayName,omitempty"`
14
Attributes OrganizationAttributes `json:"attributes,omitempty"`
15
}
16
17
type OrganizationAttributes struct {
- IsPersonal []string `json:"is_personal"`
18
+ IsPersonal []string `json:"isPersonal"`
19
20
21
func (o *Organization) IsPersonal() bool {
0 commit comments