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

Add glojure.go.types package to ease creating go types #45

Merged
merged 1 commit into from
Aug 26, 2023
Merged

Conversation

jfhamlin
Copy link
Contributor

@jfhamlin jfhamlin commented Aug 26, 2023

For example, instead of this:

(go/ptr-to (go/map-of go/string go/any))

one can do

;; assume glojure.go.types has been required as gt
(gt/from-string "*map[string]any")

Only builtin types are supported.

@jfhamlin jfhamlin merged commit 5ec0fdd into main Aug 26, 2023
2 checks passed
@jfhamlin jfhamlin deleted the f/go-types branch August 26, 2023 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant