go-watchdog/vendor/github.com/UnnoTed/fileb0x/file/file.go

22 lines
351 B
Go
Raw Normal View History

2019-06-25 01:57:21 +00:00
package file
// File holds file's data
type File struct {
OriginalPath string
Name string
Path string
Data string
Bytes []byte
ReplacedText bool
Tags string
Base string
Prefix string
Modified string
}
// NewFile creates a new File
func NewFile() *File {
f := new(File)
return f
}