After I use the data from the POST, I set the fields to nil. On a GET, that data is never accessed from the database, so it will just be nil. Using two different structs would be awkward because a CRUDer is defined on a single struct usually.
[ Full content available at: https://github.com/apache/trafficcontrol/pull/2834 ] This message was relayed via gitbox.apache.org for [email protected]
