lerenn / asyncapi-codegen

An AsyncAPI Golang Code generator that generates all Go code from the broker to the application/user. Just plug your application to your favorite message broker!
Apache License 2.0
89 stars 23 forks source link

Question: why is generated api.gen.go has 0755 permission #50

Closed leejuyuu closed 1 year ago

leejuyuu commented 1 year ago

As far as I know, *.go source files are not meant to be executed directly. Why is the generated api.gen.go files set to 0755 permission?

lerenn commented 1 year ago

This is unintended behavior (I didn't really take time to think about that). It should be really quick, and I'll fix it to 0644.

Tell me if you think there is a better thing to do!

lerenn commented 1 year ago

Also, if you want to do a PR for this, feel free to do it if you'd like to. Otherwise, I'll do it later today :)

leejuyuu commented 1 year ago

PR opened!

lerenn commented 1 year ago

Merged and tagged to v0.13.2

lerenn commented 1 year ago

Thanks !