mirror of
https://github.com/foomo/keel.git
synced 2025-10-16 12:35:34 +00:00
9 lines
234 B
Go
9 lines
234 B
Go
package keelgotsrpc
|
|
|
|
import "github.com/mitchellh/mapstructure"
|
|
|
|
// Decode decodes the custom data into the given pointer to a map or struct.
|
|
func Decode(data interface{}, v interface{}) error {
|
|
return mapstructure.Decode(data, v)
|
|
}
|