maybe a dumb golang question, but what's the point of this check? why can't you just assign requirements[key] directly?