summaryrefslogtreecommitdiffhomepage
path: root/pkg/state/encode.go
diff options
context:
space:
mode:
authorToshi Kikuchi <toshik@google.com>2021-02-11 14:37:37 -0800
committergVisor bot <gvisor-bot@google.com>2021-02-11 14:39:41 -0800
commit2129dfff61526879ca6a681e7a498d1e0d9ace34 (patch)
tree9418ae4b091fb42e02ddf04a77f8922eb7e0ea90 /pkg/state/encode.go
parentc833eed80a4ceaf9da852ef361dd5f4864eb647d (diff)
iptables test: Implement testCase interface on pointers
Implementing interfaces on value types causes the interface to be implemented by both the value type and the pointer type of the implementer. This complicates type assertion as it requires the assertion to check for both the pointer type and the value type. PiperOrigin-RevId: 357061063
Diffstat (limited to 'pkg/state/encode.go')
0 files changed, 0 insertions, 0 deletions