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

How to remove a struct to file ? #19

Closed
KnightJoker opened this issue Oct 30, 2017 · 1 comment
Closed

How to remove a struct to file ? #19

KnightJoker opened this issue Oct 30, 2017 · 1 comment

Comments

@KnightJoker
Copy link

Hello, think to your Disk!
When i use the library, the remove method is not friendly to me.
About issue#4,whether there is a similar method to remove a struct to file with data of the same type.

In my handling, I can only remove this file and then save another file. I think it's very bad, hope you can give me a better suggestion or solution.Thinks~

@saoudrizwan
Copy link
Owner

You can just retrieve your structs first, modify your array of structs (remove/add/etc) and then re-save it to the same file name.

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

No branches or pull requests

2 participants