]> git.r.bdr.sh - rbdr/mobius/blobdiff - hotline/file_header.go
Replace custom slice concat func with slices.Concat
[rbdr/mobius] / hotline / file_header.go
index 60c652e36eb5cf1be776b192ed5bdc822cc71315..61b8e288f4a8d79fb3ee3d42d51b43f9a993c08a 100644 (file)
@@ -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,