type Args struct {
Path string `json:"path"` // the file to read Offset int `json:"offset"` // the first line Limit int `json:"limit"` // the most lines to return}
Args is what a read takes. An absent offset or limit is zero, which means the whole file.