NordSecurity / uniffi-bindgen-go

Uniffi bindings generator for Golang
Mozilla Public License 2.0
65 stars 18 forks source link

Configure package name via uniffi.toml #10

Closed arg0d closed 7 months ago

arg0d commented 11 months ago

package_name from uniffi.toml config is not used in package .. template. This makes it impossible to customize Go bindings package. All other language bindings support this.

https://github.com/NordSecurity/uniffi-bindgen-go/blob/d4efb571db85a22ba7c8a766d90d5375a80445ca/bindgen/src/gen_go/mod.rs#L28

https://github.com/NordSecurity/uniffi-bindgen-go/blob/d4efb571db85a22ba7c8a766d90d5375a80445ca/bindgen/templates/wrapper.go#L5

arg0d commented 8 months ago

I think this will be fixed by https://github.com/NordSecurity/uniffi-bindgen-go/pull/26