From 95159e5585762c06c654945070ba54262b7dcec9 Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Sat, 15 Jun 2024 11:13:16 -0700 Subject: Refactoring and cleanup * Split CLI client into separate project * Convert more functions to follow common Golang idioms e.g io.Reader, io.Writer * Use ldflags for versioning * Misc cleanup and simplification --- hotline/flattened_file_object.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hotline/flattened_file_object.go') diff --git a/hotline/flattened_file_object.go b/hotline/flattened_file_object.go index dfa86e0..4bf8b4d 100644 --- a/hotline/flattened_file_object.go +++ b/hotline/flattened_file_object.go @@ -152,7 +152,7 @@ func (ffif *FlatFileInformationFork) Read(p []byte) (int, error) { ), io.EOF } -// Write implements the io.Writeer interface for FlatFileInformationFork +// Write implements the io.Writer interface for FlatFileInformationFork func (ffif *FlatFileInformationFork) Write(p []byte) (int, error) { nameSize := p[70:72] bs := binary.BigEndian.Uint16(nameSize) -- cgit