maddyblue / esc

A simple file embedder for Go
http://godoc.org/github.com/mjibson/esc
MIT License
637 stars 73 forks source link

generated code do not satisfy go lint #9

Closed sekimura closed 9 years ago

sekimura commented 9 years ago

static.go:14:6: don't use underscores in Go names; type _esc_localFS should be _escLocalFS static.go:16:5: don't use underscores in Go names; var _esc_local should be _escLocal static.go:18:6: don't use underscores in Go names; type _esc_staticFS should be _escStaticFS static.go:20:5: don't use underscores in Go names; var _esc_static should be _escStatic static.go:22:6: don't use underscores in Go names; type _esc_file should be _escFile static.go:166:5: don't use underscores in Go names; var _esc_data should be _escData

0xhaven commented 9 years ago

This is a serious problem. In order to use this tool, I've needed to manually edit the names that don't correspond to Go style.

sekimura commented 9 years ago

Thanks for making the change! :+1: