personal-website/webfilesystem/webfilesystem.go

21 lines
323 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"}}
}
type Folder struct {
files []*File
}
type File struct {
Id string
FileName string
}