common/maps: Add Scratch.DeleteInMap
authormeehawk <80167324+meehawk@users.noreply.github.com>
Mon, 17 May 2021 13:45:33 +0000 (19:15 +0530)
committerGitHub <noreply@github.com>
Mon, 17 May 2021 13:45:33 +0000 (15:45 +0200)
commitabbc99d4c60b102e2779e4362ceb433095719384
treef567d55d5ba900a488d777cb5fb979f414d2e061
parent76c95f55a5d18290baa7f23667161d4af9fb9b53
common/maps: Add Scratch.DeleteInMap

Add Scratch.DeleteInMap method. This method works similar to Scratch.SetInMap. It takes in two string parameters, key and mapKey and deletes the value mapped to mapKey in key

Closes #8504
common/maps/scratch.go
common/maps/scratch_test.go
docs/content/en/functions/scratch.md