mirror of
https://github.com/strongdm/comply
synced 2024-11-05 07:25:26 +00:00
16 lines
222 B
Go
16 lines
222 B
Go
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,
|
|
}
|
|
}
|