-
Notifications
You must be signed in to change notification settings - Fork 293
Open
Description
Mostly from Walter:
Return Values Directly: Go's multiple return values are a powerful feature. Prefer returning values directly rather than using "out parameters" (passing pointers to be modified). If you do not need values from an input parameter then it should probably be a return value.
The ask here is to actually report a diff in places like this as opposed to adding fields to the existing diff passed in as a parameter
func InstancesMatch(desired *api.DatabaseInstance, actual *api.DatabaseInstance, diff *structuredreporting.Diff) bool { |
Originally posted by @acpana in #5152 (comment)
Metadata
Metadata
Assignees
Labels
No labels