I am completely a N00b for Go so please pardon my ignorance. I'm reverse 
engineering some code and came across the following line in camput/blobs.go 
which had me scratching my head: 

bref, err = blob.RefFromHash(s1), nil

Why is this written this way? Is this just a one line trick to clear out 
error instead of using two lines of code like:
err = nil
bref = blob.RefFromHash(s1)

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

Reply via email to