Commit 303eee61 authored by Lukas Böhm's avatar Lukas Böhm 🎱
Browse files

fix types

parent 094a9f40
......@@ -13,8 +13,8 @@ import (
type Share struct {
ID uuid.UUID `json:"id" gorm:"type:uuid; primary_key"`
Name string `json:"name"`
Expires time.Time `json:"expires,omitempty"`
DownloadLimit int `json:"downloadLimit,omitempty"`
Expires *time.Time `json:"expires,omitempty"`
DownloadLimit uint `json:"downloadLimit,omitempty"`
IsPublic bool `json:"is_public" gorm:"not null; default:false; index"`
Password string `json:"-"`
Email string `json:"email"`
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment