Added NestedStruct support [fixes #1]

You are right. I've missed that part. 

Fatih Arslan 


> On Aug 18, 2014, at 3:39, Cihangir <notifications@github.com> wrote:
> 
> In env.go:
> 
> >  
> > -		v := os.Getenv(envName)
> > +// processField gets leading name for the env variable and combines the current
> > +// field's name and generates environemnt variable names recursively
> > +func (e *EnvironmentLoader) processField(prefix string, field *structs.Field) error {
> We can not add prefix into EnvironmentLoaderbecause it is changing with every recursive function call. Please check L:68, but we can change the variable name while implementing global prefix support
> 
> —
> Reply to this email directly or view it on GitHub.