Task Attachments #104
|
@ -56,6 +56,7 @@ func (f *File) LoadFileByID() (err error) {
|
|||
return
|
||||
}
|
||||
|
||||
// LoadFileMetaByID loads everything about a file without loading the actual file
|
||||
func (f *File) LoadFileMetaByID() (err error) {
|
||||
_, err = x.Where("id = ?", f.ID).Get(f)
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue