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

WriteTo function takes an io.Writer interface #1

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

ARandell-ClaireIT
Copy link
Contributor

The hardcoded filepath wasn't fitting for our usecase so I moved most of the logic to a generic WriteTo function that takes an io.Writer instead of a filepath and redirected Write to use this.

Tested by opening an empty ods file and writing several string and float cells to it.

- Write uses WriteTo as a helper function
@AlexJarrah AlexJarrah merged commit 810142c into AlexJarrah:main Jul 5, 2024
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.

2 participants