From ccdbea918fe51d53639781cb9c20755439e14a58 Mon Sep 17 00:00:00 2001 From: Sonja Happ Date: Thu, 4 Jul 2019 11:44:18 +0200 Subject: [PATCH] fix in File model (remove a comment that irritated swaggo) --- common/models.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/models.go b/common/models.go index 45ab0d5..fb2a808 100644 --- a/common/models.go +++ b/common/models.go @@ -150,8 +150,6 @@ type File struct { ID uint `gorm:"primary_key;auto_increment"` // Name of file Name string `gorm:"not null"` - // Path at which file is saved at server side - //Path string `gorm:"not null"` // Type of file (MIME type) Type string `gorm:"not null"` // Size of file (in byte)