function
Upload
Upload creates a link to one file in the target upload collection.
Arguments
| Argument | Type | Description |
|---|---|---|
name | string | The name value. |
target | schema.CollectionSlug | The target value. |
Returns
The declared result.
UploadFieldFull signature
func Upload(
name string,
target schema.CollectionSlug,
) UploadFieldRelated types
CollectionSlugA validated collection or global slug.
UploadFieldUploadField configures a link to one file in the target upload collection.