18 lines
451 B
Go
18 lines
451 B
Go
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
|
|
}
|