personal-website/webfilesystem/webfilesystem.go
2023-04-13 00:05:23 +03:00

21 lines
354 B
Go

package webfilesystem
import "github.com/google/uuid"
type WebFileSystem struct {
folders []*Folder
}
func (fs *WebFileSystem) List() []*File {
return []*File{{uuid.NewString(), "Kek.kek"}, {uuid.NewString(), "lel.lol"}, {uuid.NewString(), "lel.img"}}
}
type Folder struct {
files []*File
}
type File struct {
Id string
FileName string
}