(record *model.UserExample)
| 186 | } |
| 187 | |
| 188 | func convertUserExample(record *model.UserExample) (*serverNameExampleV1.UserExample, error) { |
| 189 | value := &serverNameExampleV1.UserExample{} |
| 190 | err := copier.Copy(value, record) |
| 191 | if err != nil { |
| 192 | return nil, err |
| 193 | } |
| 194 | // Note: if copier.Copy cannot assign a value to a field, add it here |
| 195 | |
| 196 | return value, nil |
| 197 | } |