10 lines
354 B
Go
10 lines
354 B
Go
|
package ap
|
||
|
|
||
|
import "net/url"
|
||
|
|
||
|
type Media struct {
|
||
|
Type string `json:"type"` // Should probably always be "Image", "Video" or similar. Dunno if "Video" is correct
|
||
|
MediaType string `json:"mediaType"` // What media type the linked resource is. Something like "image/png"
|
||
|
Url url.URL `json:"url"` // Where to find the media file
|
||
|
}
|