On Tue, Aug 2, 2016 at 10:58 AM Rayland <guianul...@gmail.com> wrote:

> func Update(key string, valuePtr interface{}) error

The signature does not look good to me. Is it possible to redesign this
function so it does not take an interface{} but a specific interface type
which has the methods you need inside Update? interface{} has its
legitimate uses, but your description does not fit them, methinks.

-- 

-j

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to