1) print formatted string, byte array
2) byte array to string
fmt.Printf("%s\n",body)
2) byte array to string
buff := bytes.NewBuffer(body) fmt.Println(buff.String())
No comments:
Post a Comment