🏷️ Added GoString method for File domain
This commit is contained in:
parent
c680cca04b
commit
6a4b77fb58
|
@ -42,3 +42,7 @@ func (f File) Dir() string {
|
|||
func (f File) MediaType() string {
|
||||
return mime.TypeByExtension(f.Ext())
|
||||
}
|
||||
|
||||
func (f File) GoString() string {
|
||||
return "domain.File(" + f.Path + ")"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue