Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Consider different Go Mobile interface #460

Open
@decentralgabe

Description

          How about having the type of the parameter this function accepts be `CreateDIDKeyRequest`? According to the [documentation](https://pkg.go.dev/golang.org/x/mobile/cmd/gobind#hdr-Type_restrictions), structs are allowed.

It feels like it's a bit easier to deal with a typed object in Kotlin / Swift.

I was hoping that documentation gets automatically translated into the artifact that's created (the AAR or the Obj-C lib), but it unfortunately doesn't look like that's the case. That's unfortunate :(
To mitigate, I would say adding an example in the target language that demonstrates how to call this function would be great.

Originally posted by @andresuribe87 in #457 (comment)

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions