personal-website/webfilesystem/webfilesystem.go

18 lines
451 B
Go
Raw Normal View History

2023-03-22 21:53:06 +00:00
package webfilesystem
type WebFileSystem struct {
folders []*Folder
}
func (fs *WebFileSystem) List() []*File {
return []*File{{"Kek.kek"}, {"lel.lol"}, {"pretty.blog"}, {"ofiget.html"}, {"Kek.kek"}, {"lel.lol"}, {"pretty.blog"}, {"ofiget.html"}, {"Kek.kek"}, {"lel.lol"}, {"pretty.blog"}, {"ofiget.html"}, {"Kek.kek"}, {"lel.lol"}, {"pretty.blog"}, {"ofiget.html"}}
}
type Folder struct {
files []*File
}
type File struct {
FileName string
}