@@ -55,12 +55,12 @@ func (a *AclOperation) String() string {
55
55
return s
56
56
}
57
57
58
- //MarshalText returns the text form of the AclOperation (name without prefix)
58
+ // MarshalText returns the text form of the AclOperation (name without prefix)
59
59
func (a * AclOperation ) MarshalText () ([]byte , error ) {
60
60
return []byte (a .String ()), nil
61
61
}
62
62
63
- //UnmarshalText takes a text reprentation of the operation and converts it to an AclOperation
63
+ // UnmarshalText takes a text reprentation of the operation and converts it to an AclOperation
64
64
func (a * AclOperation ) UnmarshalText (text []byte ) error {
65
65
normalized := strings .ToLower (string (text ))
66
66
mapping := map [string ]AclOperation {
@@ -109,12 +109,12 @@ func (a *AclPermissionType) String() string {
109
109
return s
110
110
}
111
111
112
- //MarshalText returns the text form of the AclPermissionType (name without prefix)
112
+ // MarshalText returns the text form of the AclPermissionType (name without prefix)
113
113
func (a * AclPermissionType ) MarshalText () ([]byte , error ) {
114
114
return []byte (a .String ()), nil
115
115
}
116
116
117
- //UnmarshalText takes a text reprentation of the permission type and converts it to an AclPermissionType
117
+ // UnmarshalText takes a text reprentation of the permission type and converts it to an AclPermissionType
118
118
func (a * AclPermissionType ) UnmarshalText (text []byte ) error {
119
119
normalized := strings .ToLower (string (text ))
120
120
mapping := map [string ]AclPermissionType {
@@ -159,12 +159,12 @@ func (a *AclResourceType) String() string {
159
159
return s
160
160
}
161
161
162
- //MarshalText returns the text form of the AclResourceType (name without prefix)
162
+ // MarshalText returns the text form of the AclResourceType (name without prefix)
163
163
func (a * AclResourceType ) MarshalText () ([]byte , error ) {
164
164
return []byte (a .String ()), nil
165
165
}
166
166
167
- //UnmarshalText takes a text reprentation of the resource type and converts it to an AclResourceType
167
+ // UnmarshalText takes a text reprentation of the resource type and converts it to an AclResourceType
168
168
func (a * AclResourceType ) UnmarshalText (text []byte ) error {
169
169
normalized := strings .ToLower (string (text ))
170
170
mapping := map [string ]AclResourceType {
@@ -209,12 +209,12 @@ func (a *AclResourcePatternType) String() string {
209
209
return s
210
210
}
211
211
212
- //MarshalText returns the text form of the AclResourcePatternType (name without prefix)
212
+ // MarshalText returns the text form of the AclResourcePatternType (name without prefix)
213
213
func (a * AclResourcePatternType ) MarshalText () ([]byte , error ) {
214
214
return []byte (a .String ()), nil
215
215
}
216
216
217
- //UnmarshalText takes a text reprentation of the resource pattern type and converts it to an AclResourcePatternType
217
+ // UnmarshalText takes a text reprentation of the resource pattern type and converts it to an AclResourcePatternType
218
218
func (a * AclResourcePatternType ) UnmarshalText (text []byte ) error {
219
219
normalized := strings .ToLower (string (text ))
220
220
mapping := map [string ]AclResourcePatternType {
0 commit comments