// DecodeFile implements aconfig.FileDecoder.
DecodeFile implements aconfig.FileDecoder.
// DecodeFile implements aconfig . FileDecoder .
func (d *Decoder) DecodeFile(filename string) (map[string]interface{}, error) {
	raw, err := godotenv.Read(filename)
	if err != nil {
		return nil, err
	}
	res := make(map[string]interface{}, len(raw))
	for key, value := range raw {
		res[key] = value
	}
	return res, nil
}
func ( d * Decoder ) DecodeFile ( filename string ) ( map [ string ] interface { } , error ) { raw , err := godotenv . Read ( filename ) if err != nil { return nil , err } res := make ( map [ string ] interface { } , len ( raw ) ) for key , value := range raw { res [ key ] = value } return res , nil }
DecodeFile implements aconfig.FileDecoder.
DecodeFile implements aconfig . FileDecoder .