Last active
October 12, 2022 06:58
-
-
Save nidhi-canopas/8ed02dae4fd6d9b2512c0c629cde7041 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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