longurl.go 300 B

1234567891011121314151617181920
  1. package url
  2. import "code.osinet.fr/fgm/kurz/storage"
  3. type LongUrl struct {
  4. Id int64
  5. Value string
  6. }
  7. func (l LongUrl) Domain() string {
  8. return "default"
  9. }
  10. type LongMeta struct {
  11. Url LongUrl
  12. MimeType string
  13. Language storage.Language
  14. ImagePath string
  15. Origin storage.EventInfo
  16. }