working commit
This commit is contained in:
@@ -68,22 +68,22 @@ func (repo *Referer) DryRun(yesno bool) {
|
||||
repo.values.Set("dryRun", strconv.FormatBool(yesno))
|
||||
}
|
||||
|
||||
func (repo *Referer) File() string {
|
||||
func (repo *Referer) FileEP() string {
|
||||
curl := repo.urlobj.JoinPath("/v3/api/file/", repo.resource)
|
||||
return curl.String()
|
||||
}
|
||||
|
||||
func (repo *Referer) Files() string {
|
||||
func (repo *Referer) FilesEP() string {
|
||||
curl := repo.urlobj.JoinPath("/v3/api/files/", repo.resource)
|
||||
return curl.String()
|
||||
}
|
||||
|
||||
func (repo *Referer) Collection() string {
|
||||
func (repo *Referer) CollectionEP() string {
|
||||
curl := repo.urlobj.JoinPath("/v3/api/collection/", repo.resource)
|
||||
return curl.String()
|
||||
}
|
||||
|
||||
func (repo *Referer) Collections() string {
|
||||
func (repo *Referer) CollectionsEP() string {
|
||||
curl := repo.urlobj.JoinPath("/v3/api/collections/", repo.resource)
|
||||
return curl.String()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user