mirror of
https://github.com/Xevion/byte-me.git
synced 2025-12-05 23:14:31 -06:00
19 lines
199 B
Go
19 lines
199 B
Go
package main
|
|
|
|
type Frame struct {
|
|
Key string
|
|
Bytes uint32
|
|
}
|
|
|
|
type File struct {
|
|
Path string
|
|
Data []Frame
|
|
}
|
|
|
|
func NewFile(path string) File {
|
|
return File{
|
|
Path: path,
|
|
Data: []Frame{},
|
|
}
|
|
}
|