code: func initMapper(d mapperDef) {
  	if _, ok := mappers[d.Kind]; ok {
  		panic(fmt.Sprintf("mapper with kind %s has already been initialized", d.Kind))
  	}
  	mappers[d.Kind] = &d
  }
docs: // initMapper is called during init time to register some mapper kind.