Skip to content

Instantly share code, notes, and snippets.

@nidhi-canopas
Last active October 12, 2022 06:58
Show Gist options
  • Save nidhi-canopas/8ed02dae4fd6d9b2512c0c629cde7041 to your computer and use it in GitHub Desktop.
Save nidhi-canopas/8ed02dae4fd6d9b2512c0c629cde7041 to your computer and use it in GitHub Desktop.
ref := client.NewRef("user_scores/1")
if err := ref.Delete(context.TODO()); err != nil {
log.Fatalln("error in deleting ref: ", err)
}
fmt.Println("user's score deleted successfully:)")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment