elazarl / go-bindata-assetfs

Serves embedded files from `jteeuwen/go-bindata` with `net/http`
BSD 2-Clause "Simplified" License
870 stars 116 forks source link

bindata_assefts fails with golint #25

Open loredo opened 8 years ago

loredo commented 8 years ago

I needed to use this library to embed my static files but when applying golint it fails due to functions containing underscores inside names etc. It is a little boring replacing all those functions names for my static file with CameCase style.

I finished changing your convert.go, safeFunctionName function, replacing "" with "". to remove from names.

Thanks.

markwallsgrove commented 8 years ago

@loredo the code which you refer to is generated by https://github.com/jteeuwen/go-bindata. Please re-raise the issue within the go-bindata repository.