func ValueOf(rootValue reflect.Value) Value {
	if !rootValue.IsValid() {
		return Value{}
	}
	return Value{
		rootValue: rootValue,
		rootType:  TypeOf(rootValue.Type()),
	}
}
// ValueOf returns a value that can be used to call RPC-style
// methods on the given root value. It returns the zero
// Value if rootValue.IsValid is false.
ValueOf returns a value that can be used to call RPC-style
methods on the given root value. It returns the zero
Value if rootValue.IsValid is false.
// ValueOf returns a value that can be used to call RPC - style // methods on the given root value . It returns the zero // Value if rootValue . IsValid is false .
func ValueOf(rootValue reflect.Value) Value {
	if !rootValue.IsValid() {
		return Value{}
	}
	return Value{
		rootValue: rootValue,
		rootType:  TypeOf(rootValue.Type()),
	}
}
func ValueOf ( rootValue reflect . Value ) Value { if ! rootValue . IsValid ( ) { return Value { } } return Value { rootValue : rootValue , rootType : TypeOf ( rootValue . Type ( ) ) , } }
ValueOf returns a value that can be used to call RPC-style
methods on the given root value.
ValueOf returns a value that can be used to call RPC - style methods on the given root value .