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: vault.go
    path of file: ./repos/teller/vendor/github.com/mattn/lastpass-go
    
    the code of the file until where you have to start completion: package lastpass

import (
	"bytes"
)

type Account struct {
	Id       string `json:"id"`
	Name     string `json:"name"`
	
    
func CreateVault(username, password string) (*Vault, error) {
	session, err := login(username, password)
	if err != nil {
		return nil, err
	}
	blob, err := fetch(session)
	if err != nil {
		return nil, err
	}
	chunks, err := extractChunks(bytes.NewReader(blob.bytes), []uint32{chunkIdFromString("ACCT")})
	if err != nil {
		return nil, err
	}
	accountChunks := chunks[chunkIdFromString("ACCT")]
	vault := &Vault{Accounts: make([]*Account, len(accountChunks))}

	encryptionKey := makeKey(username, password, blob.keyIterationCount)

	for i, chunk := range accountChunks {
		account, err := parseAccount(bytes.NewReader(chunk), encryptionKey)
		if err != nil {
			return nil, err
		}
		vault.Accounts[i] = account
	}
	return vault, nil
}