Skip to content

Commit

Permalink
chore: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
w-h-a committed Jul 13, 2024
1 parent bae0ff5 commit f396b1c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions client/mockclient/mock_stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package mockclient

import (
"context"
"fmt"
"reflect"
"sync"

Expand Down Expand Up @@ -53,8 +54,14 @@ func (s *mockStream) Recv(msg interface{}) error {

response := mock.Response

fmt.Println("TYPE", reflect.TypeOf(response))
fmt.Printf("RESPONSE: %+v", response)

val.Set(reflect.ValueOf(response))

fmt.Println("TYPE", reflect.TypeOf(val))
fmt.Printf("VAL: %+v", val)

return nil
}

Expand Down

0 comments on commit f396b1c

Please sign in to comment.