Hi all, thanks for this client library! Just a small thing I noticed in the example code snippet, I beleive you want to dereference with a '*', otherwise you'll just get the memory address printed to the console:
fmt.Println(*rst.Candidates[0].Content.Parts[0])
instead of
fmt.Println(rst.Candidates[0].Content.Parts[0])
Cheers!
Hi all, thanks for this client library! Just a small thing I noticed in the example code snippet, I beleive you want to dereference with a '*', otherwise you'll just get the memory address printed to the console:
instead of
Cheers!