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

Any solution to structs with strings #20

Open
brunetto opened this issue Jan 8, 2015 · 2 comments
Open

Any solution to structs with strings #20

brunetto opened this issue Jan 8, 2015 · 2 comments
Assignees

Comments

@brunetto
Copy link

brunetto commented Jan 8, 2015

Hi!!
I read https://github.com/sbinet/go-hdf5#known-problems, but, is there any solution about the problem of storing structs with string fields? HDF5 already support them... Is there anything that can be done? Maybe I can help too... It would be great to have HDF5 working with Go (at least, it would be great for me:P).

@sbinet sbinet self-assigned this Jan 8, 2015
@sbinet
Copy link
Owner

sbinet commented Jan 8, 2015

like h5py did (and probably PyTables too) one needs to implement a hdf5 converter for Go strings, so they are part of (and properly handled by) the hdf5 type system.
it's not very difficult, it just takes a bit of time.

@brunetto
Copy link
Author

brunetto commented Jan 8, 2015

Ok, I'll have a look and try to find something and understand it... is it not possible to have a fixed length string?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants