// UnmarshalOSPfxAndUnset unmarshal os environment prefixed with pfx to map or struct and unset environment variables
UnmarshalOSPfxAndUnset unmarshal os environment prefixed with pfx to map or struct and unset environment variables
// UnmarshalOSPfxAndUnset unmarshal os environment prefixed with pfx to map or struct and unset environment variables
func UnmarshalOSPfxAndUnset(i interface{}, pfx string) error {
	m := newEnvMap(os.Environ(), pfx)
	err := unmarshal(i, m, pfx)
	if err != nil {
		return err
	}
	return m.UnsetEnv()
}
func UnmarshalOSPfxAndUnset ( i interface { } , pfx string ) error { m := newEnvMap ( os . Environ ( ) , pfx ) err := unmarshal ( i , m , pfx ) if err != nil { return err } return m . UnsetEnv ( ) }
UnmarshalOSPfxAndUnset unmarshal os environment prefixed with pfx to map or struct and unset environment variables
UnmarshalOSPfxAndUnset unmarshal os environment prefixed with pfx to map or struct and unset environment variables