>It would be nice in the WithRows function to also check rows.Err()
Agreed; I was just too lazy to add that to my examples.

>context managers (via the with keyword in Python) are pythonic things to use
Right, or `using` in C#, or Java `try`/`java.lang.AutoCloseable`. The pattern 
isn't uncommon in imperative languages.

[ Full content available at: https://github.com/apache/trafficcontrol/pull/2862 
]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to