From 9c44621ee1ca9abfca79c593e80193afd9204c83 Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Sat, 8 Jun 2024 19:26:14 -0700 Subject: Replace custom slice concat func with slices.Concat --- hotline/file_header.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hotline/file_header.go') diff --git a/hotline/file_header.go b/hotline/file_header.go index 60c652e..61b8e28 100644 --- a/hotline/file_header.go +++ b/hotline/file_header.go @@ -2,7 +2,7 @@ package hotline import ( "encoding/binary" - "github.com/jhalter/mobius/concat" + "slices" ) type FileHeader struct { @@ -28,7 +28,7 @@ func NewFileHeader(fileName string, isDir bool) FileHeader { } func (fh *FileHeader) Payload() []byte { - return concat.Slices( + return slices.Concat( fh.Size, fh.Type, fh.FilePath, -- cgit