mirror of
https://github.com/strongdm/comply
synced 2024-08-26 17:26:47 +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,
|
|
}
|
|
}
|