On Tue, Jul 18, 2023 at 5:22 PM Jochen Voss wrote:
> Dear Jason,
>
> Thanks for the idea of using reflect. Do you know whether
> `reflect.ValueOf(a).UnsafePointer()` is somehow "safer" than
> `*(*uintptr)(unsafe.Pointer(&a))`?
>
For what it's worth: I'd argue comparing
`reflect.ValueOf(a).Unsaf
Why dont you turn that 2 maps into json then compare its diffrent or not
Vào lúc 21:35:38 UTC+7 ngày Thứ Ba, 18 tháng 7, 2023, Jochen Voss đã viết:
> Dear all,
>
> To implement the "eq" operator in a simple PostScript interpreter, I need
> to determine whether two maps are the same object.
>
> T
Thanks will try the library shortly. Looks good
On Wed, 19 Jul, 2023, 09:34 'Jim Idle' via golang-nuts, <
golang-nuts@googlegroups.com> wrote:
> If you are doing any serious email work, you might find that the enmime
> module is useful.
>
> https://github.com/jhillyerd/enmime
>
> And perhaps this
Hi,
If you are in tests context, you can have a look at go-testdeep [1] and its
Shallow operator [2] like in: https://go.dev/play/p/kNItQmDOJDy
Regards,
Max.
[1]: https://github.com/maxatome/go-testdeep/
[2]: https://go-testdeep.zetta.rocks/operators/shallow/
Le mardi 18 juillet 2023 à 17:55:5