Created
February 14, 2015 07:52
-
-
Save adityagodbole/dd42dc85824acec3a828 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func(a Blob, params interface{}) interface{} { | |
var data int | |
if params != nil { | |
data = params.(int) | |
} | |
val := a.(*myStruct) | |
return val.inc(data) | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment