// MustUnmarshalFromDoc unmarshals the given document to the given object.
MustUnmarshalFromDoc unmarshals the given document to the given object.
// MustUnmarshalFromDoc unmarshals the given document to the given object .
func MustUnmarshalFromDoc(doc Document, obj interface{}) {
	if err := UnmarshalFromDoc(doc, obj); err != nil {
		panic(err)
	}
}
func MustUnmarshalFromDoc ( doc Document , obj interface { } ) { if err := UnmarshalFromDoc ( doc , obj ) ; err != nil { panic ( err ) } }
MustUnmarshalFromDoc unmarshals the given document to the given object.
MustUnmarshalFromDoc unmarshals the given document to the given object .