mirror of
https://github.com/therootcompany/serviceman.git
synced 2025-04-20 06:10:48 +00:00
22 lines
351 B
Go
22 lines
351 B
Go
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
|
|
}
|