Skip to content

Conversation

@bep
Copy link
Owner

@bep bep commented Dec 12, 2025

While potentially useful, I currently only need the writer, and I suspect most use cases of this is similar to mine.

I may revisit this in the future.

While potentially useful, I currently only need the writer, and I suspect most use cases of this is similar to mine.

I may revisit this in the future.
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the repository by removing the reader functionality and renaming the Go module from textandbinaryreader to textandbinarywriter. The change simplifies the codebase to focus solely on writing functionality, as the author only needs the writer for their current use case.

Key Changes:

  • Renamed the Go module and package from textandbinaryreader to textandbinarywriter
  • Removed the Reader type and all reader-specific functionality
  • Moved blob header reading/writing utilities from reader.go to writer.go

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
go.mod Updated module name to textandbinarywriter and Go version to 1.24.0
README.md Updated badge URLs to reflect the new repository name
reader.go Deleted file - removed Reader type and associated functionality
reader_test.go Deleted file - removed all reader tests including the TestBlobHeaderWriteAndRead test
writer.go Renamed package, moved BlobMarker constant and blob header functions from reader.go
writer_test.go Renamed package, updated tests to use io.Pipe directly, added new BenchmarkWriter and TestBlobHeaderWriteAndRead tests

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bep bep merged commit cd9f073 into main Dec 12, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants