mirror of
https://github.com/rancher/norman.git
synced 2025-07-30 22:35:29 +00:00
When generating types, any field with name "id" was being skipped. The intention here was to skip the "id" field of the embedded types.Resource struct. A type will have an embedded types.Resource struct when the hasGet function returns true. Therefore, this hasGet function is also used to skip the id fields as desired. |
||
---|---|---|
.. | ||
cleanup | ||
client_template.go | ||
controller_template.go | ||
funcs.go | ||
generator.go | ||
k8s_client_template.go | ||
lifecycle_template.go | ||
scheme_template.go | ||
type_template.go |