Skip to content

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