You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: environment.go
    path of file: ./repos/cds/sdk/exportentities
    
    the code of the file until where you have to start completion: package exportentities

import (
	"github.com/ovh/cds/sdk"
)

// Environment is a struct to export sdk.Environment
type Environment struct {
	Name   string                  
    
func NewEnvironment(e sdk.Environment, keys []EncryptedKey) Environment {
	env := Environment{
		Name:   e.Name,
		Values: make(map[string]VariableValue, len(e.Variables)),
	}
	for _, v := range e.Variables {
		env.Values[v.Name] = VariableValue{
			Type:  string(v.Type),
			Value: v.Value,
		}
	}
	env.Keys = make(map[string]KeyValue, len(keys))
	for _, k := range keys {
		env.Keys[k.Name] = KeyValue{
			Type:  k.Type,
			Value: k.Content,
		}
	}
	return env
}