1
0
mirror of https://github.com/strongdm/comply synced 2024-11-15 04:14:55 +00:00
comply/vendor/github.com/yosssi/ace/file.go

16 lines
222 B
Go
Raw Normal View History

2018-05-11 20:25:46 +00:00
package ace
// File represents a file.
type File struct {
path string
data []byte
}
// NewFile creates and returns a file.
func NewFile(path string, data []byte) *File {
return &File{
path: path,
data: data,
}
}