func (c *Conf) Load(fname string) (err error) {
	defer func() {
		if e := recover(); e != nil {
			err = e.(error)
		}
	}()

	buf, err := ioutil.ReadFile(fname)
	if err != nil {
		panic(err)
	}

	return c.LoadString(fname, string(buf))
}
// Load Conf c from a resolv.conf format file fname. Return an Error, if any.
Load Conf c from a resolv.conf format file fname. Return an Error, if any.
// Load Conf c from a resolv . conf format file fname . Return an Error if any .
func (c *Conf) Load(fname string) (err error) {
	defer func() {
		if e := recover(); e != nil {
			err = e.(error)
		}
	}()
	buf, err := ioutil.ReadFile(fname)
	if err != nil {
		panic(err)
	}
	return c.LoadString(fname, string(buf))
}
func ( c * Conf ) Load ( fname string ) ( err error ) { defer func ( ) { if e := recover ( ) ; e != nil { err = e . ( error ) } } ( ) buf , err := ioutil . ReadFile ( fname ) if err != nil { panic ( err ) } return c . LoadString ( fname , string ( buf ) ) }
Load Conf c from a resolv.conf format file fname.
Load Conf c from a resolv . conf format file fname .