I am doing a unit test, but I found this data type that I don't understand.
Error:
Not equal:
expected: <nil>(<nil>)
actual : *pkgname.StructName((*pkgname.StructName)(nil))
FYI, pkgname is a name of a package, StructName is a name of a Struct
How do I make a variable with the same datatype and value of "*pkgname.StructName((*pkgname.StructName)(nil))"?
Is it a pointer of struct to a nil value?