cannot convert (type interface {}) to type int: need type assertion

NoSuchKey