https://github.com/goplus/xtypes
Golang types convert utils
https://github.com/goplus/xtypes
golang reflect types
Last synced: 3 months ago
JSON representation
Golang types convert utils
- Host: GitHub
- URL: https://github.com/goplus/xtypes
- Owner: goplus
- License: apache-2.0
- Created: 2021-07-09T14:44:09.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-28T03:32:06.000Z (over 3 years ago)
- Last Synced: 2025-01-11T00:44:13.401Z (5 months ago)
- Topics: golang, reflect, types
- Language: Go
- Homepage:
- Size: 180 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xtypes
Package xtypes provides `go/types` extended utilities.
Converting `types.Type` into `reflect.Type`.```
ctx := xtypes.NewContext(nil)
t, err := xtypes.ToType(typ,ctx)
```