NordSecurity / uniffi-bindgen-go

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

Two small bug fixes #9

Closed jjanowsk closed 1 year ago

jjanowsk commented 1 year ago
  1. Close generated binding file before formatting Otherwise the fmt may fail if the file cache is not saved to the disk after the write
  2. Remove unnecessery import from EnumTemplate.go. It doubles the one in wrapper.go and in case go fmt is not used it breakes bindings compilation.