Skip to content

Update go examples so that errors are not ignored when parsing hex #286

@DaughterOfMars

Description

@DaughterOfMars

We changed the go examples to ignore these errors because it is simpler, but this means users copying these examples will get bad errors if they change the hex. We should add helper methods for parsing which will catch and print these errors as in

func objIdFromHex(hex string) *sdk.ObjectId {

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions