MCPcopy Create free account
hub / github.com/GoMudEngine/GoMud / removeString

Function removeString

modules/zombiemode/command.zombie.go:426–434  ·  view source on GitHub ↗
(slice []string, s string)

Source from the content-addressed store, hash-verified

424}
425
426func removeString(slice []string, s string) []string {
427 out := slice[:0]
428 for _, v := range slice {
429 if v != s {
430 out = append(out, v)
431 }
432 }
433 return out
434}

Callers 1

handleUnsetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected