code: func (w *Worklog) Resolve(ctx context.Context, n *observer.Notifier,
  	orgID *identity.ID, ident *apitypes.WorklogID) error {
  
  	item, err := w.Get(ctx, orgID, ident)
  	if err != nil {
  		return err
  	}
  
  	if item == nil {
  		return nil
  	}
  
  	for t, h := range w.handlers {
  		if t&item.Type() == 0 {
  			continue
  		}
  
  		return h.resolve(ctx, n, orgID, item)
  	}
  
  	panic("worklog handler not found for type")
  }
docs: // Resolve attempts to resolve the worklog item in the given org with the given
  // ident.