Skip to content

Instantly share code, notes, and snippets.

@adityagodbole
Created February 14, 2015 07:52
Show Gist options
  • Save adityagodbole/dd42dc85824acec3a828 to your computer and use it in GitHub Desktop.
Save adityagodbole/dd42dc85824acec3a828 to your computer and use it in GitHub Desktop.
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