update go docs and examples

This commit is contained in:
darrell-thobe-sp
2025-05-13 13:16:33 -04:00
parent d89039d220
commit 9e03821762
255 changed files with 3678 additions and 3678 deletions

View File

@@ -865,7 +865,7 @@ func main() {
var requestBody beta.RequestBody
if err := json.Unmarshal(data, &requestBody); err != nil {
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
fmt.Println("Error:", err)
return
}
@@ -938,7 +938,7 @@ import (
func main() {
id := `ef38f94347e94562b5bb8424a56397d8` // string | The ID of the work item # string | The ID of the work item
data := []byte(`{
workitemforward := []byte(`{
"targetOwnerId" : "2c9180835d2e5168015d32f890ca1581",
"comment" : "I'm going on vacation.",
"sendNotifications" : true
@@ -946,7 +946,7 @@ func main() {
var workItemForward beta.WorkItemForward
if err := json.Unmarshal(data, &workItemForward); err != nil {
if err := json.Unmarshal(workitemforward, &workItemForward); err != nil {
fmt.Println("Error:", err)
return
}