code: func getFieldEntryKey(node *ast.Field) string {
  
  	if node.Alias != nil && node.Alias.Value != "" {
  		return node.Alias.Value
  	}
  	if node.Name != nil && node.Name.Value != "" {
  		return node.Name.Value
  	}
  	return ""
  }
docs: // Implements the logic to compute the key of a given field’s entry