// NewShares returns a new 'shares' REST handler that retrieves an object's 'Announce' activities.
NewShares returns a new 'shares' REST handler that retrieves an object's 'Announce' activities.
// NewShares returns a new ' shares ' REST handler that retrieves an object ' s ' Announce ' activities .
func NewShares(cfg *Config, activityStore spi.Store, verifier signatureVerifier,
	sortOrder spi.SortOrder, tm authTokenManager) *Activities {
	return NewActivities(fmt.Sprintf("%s/{id}", SharesPath), spi.Share, cfg, activityStore,
		getObjectIRIFromIDParam, getIDFromParam(cfg.ObjectIRI, SharesPath), verifier, sortOrder, tm)
}
func NewShares ( cfg * Config , activityStore spi . Store , verifier signatureVerifier , sortOrder spi . SortOrder , tm authTokenManager ) * Activities { return NewActivities ( fmt . Sprintf ( " " , SharesPath ) , spi . Share , cfg , activityStore , getObjectIRIFromIDParam , getIDFromParam ( cfg . ObjectIRI , SharesPath ) , verifier , sortOrder , tm ) }
NewShares returns a new 'shares' REST handler that retrieves an object's 'Announce' activities.
NewShares returns a new ' shares ' REST handler that retrieves an object ' s ' Announce ' activities .