code: func (obj *Doc) GetField(ctx context.Context, fieldName string, stateName string) (*Field, error) {
  	result := &struct {
  		Return *ObjectInterface	`json:"qReturn"`
  	} {}
  	err := obj.rpc(ctx, "GetField", result, fieldName, stateName)
  	if err != nil {
  		return nil, err
  	}
  	return &Field{obj.session.getRemoteObject(result.Return)}, err 
  }
docs: // Returns a handle to a field.
  //
  // Parameters:
  //
  // ◾ fieldName   -   Name of the field.
  //
  // ◾ stateName   -   Name of the alternate state.
  // Default state is current selections.
  //