func (q *Query) AddKey(t *Table, key *Key) {
	k := t.Key
	keymap := msi{
		k.KeyAttribute.Name: msi{
			k.KeyAttribute.Type: key.HashKey},
	}
	if k.HasRange() {
		keymap[k.RangeAttribute.Name] = msi{k.RangeAttribute.Type: key.RangeKey}
	}
	q.buffer["Key"] = keymap
}
This way of specifing the key is used when doing a Get.
If rangeKey is "", it is assumed to not want to be used
package dynamodb
import (
	"encoding/json"
	"sort"
)
type msi map[string]interface{}
type Query struct {
	buffer msi
}
func NewEmptyQuery() *Query {
	return &Query{msi{}}
}
func NewQuery(t *Table) *Query {
	q := &Query{msi{}}
	q.addTable(t)
	return q
}