Learning golang ... WIP
Here's a Go function signature that takes in a value of any type v interface {}
,
and returns a slice of bytes and an error (from package json):
func Marshal(v interface{}) ([]byte, error)
Learning golang ... WIP
Here's a Go function signature that takes in a value of any type v interface {}
,
and returns a slice of bytes and an error (from package json):
func Marshal(v interface{}) ([]byte, error)