From aa34d192da7beacc6f3b096b898fbeb112449b17 Mon Sep 17 00:00:00 2001 From: Wes Date: Tue, 6 Feb 2024 12:09:55 -0700 Subject: [PATCH] chore: remove extra printfs --- go-runtime/encoding/encoding.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/go-runtime/encoding/encoding.go b/go-runtime/encoding/encoding.go index 717509ac33..401b532599 100644 --- a/go-runtime/encoding/encoding.go +++ b/go-runtime/encoding/encoding.go @@ -21,7 +21,6 @@ var ( func Marshal(v any) ([]byte, error) { w := &bytes.Buffer{} err := encodeValue(reflect.ValueOf(v), w) - fmt.Printf("Marshal: %s\n", w.String()) return w.Bytes(), err } @@ -69,7 +68,6 @@ func encodeValue(v reflect.Value, w *bytes.Buffer) error { return encodeValue(v.Elem(), w) case reflect.Slice: - fmt.Printf("slice: %s %v\n", v.Type().Elem().Kind(), v) if v.Type().Elem().Kind() == reflect.Uint8 { return encodeBytes(v, w) }