Documentation ¶
Overview ¶
Package typed is a strictly typed wrapper around cmp.Diff.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Diff ¶
Diff is just like cmp.Diff but it forces got and want to have the same type and includes protocmp.Transform().
This will result in more informative compile-time errors. protocmp.Transform() is necessary for any protocol buffer comparison, and it correctly does nothing if the arguments that we pass in are hereditarily non-protobufs. So, for developer convenience, let's just always add it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.