mirror of
https://github.com/terorie/od-database-crawler.git
synced 2025-04-16 08:56:44 +00:00
19 lines
249 B
Go
19 lines
249 B
Go
package main
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type File struct {
|
|
Name string `json:"name"`
|
|
Size int64 `json:"size"`
|
|
MTime time.Time `json:"mtime"`
|
|
Path string `json:"path"`
|
|
IsDir bool `json:"-"`
|
|
}
|
|
|
|
type CrawlResult struct {
|
|
FileCount int
|
|
Status string
|
|
}
|