MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / RemoveString

Method RemoveString

pkg/util/json/json.go:163–163  ·  view source on GitHub ↗

RemoveString implements the `-` operator for strings, returning JSON after removal, whether removal is valid and error message.

(s string)

Source from the content-addressed store, hash-verified

161 // RemoveString implements the `-` operator for strings, returning JSON after removal,
162 // whether removal is valid and error message.
163 RemoveString(s string) (JSON, bool, error)
164
165 // RemoveIndex implements the `-` operator for ints, returning JSON after removal,
166 // whether removal is valid and error message.

Callers 1

RemoveStringMethod · 0.65

Implementers 4

jsonNullpkg/util/json/json.go
jsonFalsepkg/util/json/json.go
jsonTruepkg/util/json/json.go
jsonEncodedpkg/util/json/encoded.go

Calls

no outgoing calls

Tested by

no test coverage detected