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 ziptree package for sharing code #63

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Songmu
Copy link
Contributor

@Songmu Songmu commented Mar 23, 2019

Currently, there are almost the same code for zipping is written in statik.go and fs_test.go, and it is difficult to prove the correctness of the test.

Therefore, I create the ziptree package to share code and utilize it in statik.go and fs_test.go.

Also, the ziptree package's public interfaces are useful for writing custom code for "go generate" to Register original data and create New http.FileSystem, for example, when we want to create multiple file systems.

How do you think?

@Songmu Songmu force-pushed the ziptree branch 3 times, most recently from 159ec58 to 6992c86 Compare March 23, 2019 13:57
@Songmu Songmu changed the title add ziptree package to sharing code WIP: add ziptree package to sharing code Mar 23, 2019
@Songmu Songmu changed the title WIP: add ziptree package to sharing code add ziptree package to sharing code Mar 23, 2019
@Songmu Songmu changed the title add ziptree package to sharing code add ziptree package for sharing code Mar 23, 2019
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