Skip to content

Instantly share code, notes, and snippets.

@manjeettahkur
Created May 30, 2022 07:05
Show Gist options
  • Save manjeettahkur/773c8095d9e4abdd4b906b937071ae3c to your computer and use it in GitHub Desktop.
Save manjeettahkur/773c8095d9e4abdd4b906b937071ae3c to your computer and use it in GitHub Desktop.
run this code
data, _ := json.Marshal(context.WithValue(context.Background(), "a", "b"))
fmt.Println(string(data))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment