Source ยป

Search was intended to be used with my todo program, but I never ended up using it. Line(int) ([]byte, error) searches through a file until it reaches a certain line number and returns the contents of that line. Do not use Query(string) ([]byte, error) because it is deprecated and likely won't work.