0

confusion on strategy pattern in Go language

Mark Kevin Besinga 3 lat temu 0
Hi I got confused by this https://refactoring.guru/design-patterns/strategy/go/example#example-0--cache-go on `get` func the code inside the block is delete. from my understanding it will delete from the map base on the key. is it correct? but why name it with `get`?