Skip to content

Commit

Permalink
refactor: removed unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
mhughdo committed Jul 23, 2024
1 parent 073039c commit 94ac51e
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions pkg/resp/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,21 +300,6 @@ func (w *Writer) WriteStringSlice(v []string) error {
return nil
}

func (w *Writer) WriteNestedStringSlice(v [][]string) error {
if err := w.WriteByte(Array); err != nil {
return err
}
if err := w.writeLen(len(v)); err != nil {
return err
}
for i := range v {
if err := w.WriteStringSlice(v[i]); err != nil {
return err
}
}
return nil
}

func (w *Writer) WriteSlice(v any) error {
reflectType := reflect.TypeOf(v)
if reflectType.Kind() == reflect.Ptr {
Expand Down

0 comments on commit 94ac51e

Please sign in to comment.