Scanner to read file from the end

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • backscanner

    A scanner similar to bufio.Scanner, but it reads and returns lines in reverse order, starting at a given position and going backward.

  • A while back, I had this task of reading a file backward, line by line, to find a particular value. There is no solution in std lib. So, I tried to use some existent solution from github, like backscanner. But you know what? After wrestling with some tricky corner cases and realising it didn't quite fit my needs, I rolled up my sleeves and came up with my own solution. And just last week, I decided to built a highly effective reverse scanner - rscanner. I tried to cover all those corner cases, made interface similar to bufio.Scanner and kept it effective. Any thoughts or feedback are welcome!

  • rscanner

    Same as bufio.Scanner, but in reverse. It enables scanning from the end to the beginning.

  • A while back, I had this task of reading a file backward, line by line, to find a particular value. There is no solution in std lib. So, I tried to use some existent solution from github, like backscanner. But you know what? After wrestling with some tricky corner cases and realising it didn't quite fit my needs, I rolled up my sleeves and came up with my own solution. And just last week, I decided to built a highly effective reverse scanner - rscanner. I tried to cover all those corner cases, made interface similar to bufio.Scanner and kept it effective. Any thoughts or feedback are welcome!

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts