code: func (obj *Global) GetActiveDoc(ctx context.Context) (*Doc, error) {
  	result := &struct {
  		Return *ObjectInterface	`json:"qReturn"`
  	} {}
  	err := obj.rpc(ctx, "GetActiveDoc", result)
  	if err != nil {
  		return nil, err
  	}
  	return &Doc{obj.session.getRemoteObject(result.Return)}, err 
  }
docs: // Returns the handle of the current app.