Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(developer docs): updated docs for cross-platforms sdks #769

Open
cnlangzi opened this issue Feb 13, 2023 · 1 comment
Open

(developer docs): updated docs for cross-platforms sdks #769

cnlangzi opened this issue Feb 13, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation post-mainnet

Comments

@cnlangzi
Copy link
Contributor

  • gosdk(docs): updated README.md to add how to expose gosdk methods in mobile sdk
  • gosdk(docs): updated README.md to add how to expose gosdk methods in wasm sdk
  • gosdk(docs): updated README.md to add how to expose gosdk methods in windows sdk
@boddumanohar boddumanohar added documentation Improvements or additions to documentation post-mainnet labels Apr 30, 2023
@boddumanohar boddumanohar changed the title docs: updated docs for cross-platforms sdks (developer docs): updated docs for cross-platforms sdks Apr 30, 2023
@boddumanohar boddumanohar removed their assignment May 11, 2023
@boddumanohar
Copy link
Contributor

boddumanohar commented May 15, 2023

docs from gobind https://pkg.go.dev/golang.org/x/mobile/cmd/gobind#hdr-Type_restrictions

Type_restrictions
All exported symbols in the package must have types that are supported. Supported types include:

- Signed integer and floating point types.

- String and boolean types.

- Byte slice types. Note that byte slices are passed by reference, and support mutation.

- Any function type all of whose parameters and results have supported types. Functions must return either no results, one result, or two results where the type of the second is the built-in 'error' type.

- Any interface type, all of whose exported methods have supported function types.

- Any struct type, all of whose exported methods have supported function types and all of whose exported fields have supported types.
- 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation post-mainnet
Projects
None yet
Development

No branches or pull requests

2 participants