// NewEnv creates a new environment fro the application based on the given arguments.
NewEnv creates a new environment fro the application based on the given arguments.
// NewEnv creates a new environment fro the application based on the given arguments .
func NewEnv(client *session.Session, db data.Store) *Env {
	return &Env{
		AssetUploader: &uploader.AwsAssetUploader{
			AWSClient: client,
			S3Manager: s3.New(session.Must(client, nil)),
		},
		Store: db,
	}
}
func NewEnv ( client * session . Session , db data . Store ) * Env { return & Env { AssetUploader : & uploader . AwsAssetUploader { AWSClient : client , S3Manager : s3 . New ( session . Must ( client , nil ) ) , } , Store : db , } }
NewEnv creates a new environment fro the application based on the given arguments.
NewEnv creates a new environment fro the application based on the given arguments .