MCPcopy Create free account
hub / github.com/segmentio/encoding / with

Method with

thrift/struct.go:37–39  ·  view source on GitHub ↗
(x flags)

Source from the content-addressed store, hash-verified

35}
36
37func (f flags) with(x flags) flags {
38 return f | x
39}
40
41func (f flags) without(x flags) flags {
42 return f & ^x

Callers 5

forEachStructFieldFunction · 0.45
ResetMethod · 0.45
ResetMethod · 0.45
SetStrictMethod · 0.45
decodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected