rakyll / statik

Embed files into a Go executable
Apache License 2.0
3.76k stars 224 forks source link

Support multiple assets #71

Closed shumon84 closed 5 years ago

shumon84 commented 5 years ago

Support multiple assets by changing type of zipData from simple string to map [string] string.

jcchavezs commented 5 years ago

Thanks @shumon84 what about adding some unit tests on this one?

shumon84 commented 5 years ago

Thanks for quick reply. I will add unit tests as you said.

shumon84 commented 5 years ago

@jcchavezs I added unit tests to fs_test.go

jcchavezs commented 5 years ago

Sorry for the late response. Does it make sense to call it namespace instead of name? What do you think? After that I am ready to merge.

shumon84 commented 5 years ago

I agree with you.