x/mobile/bind: C functions in headers should not be PascalCase #58480
Labels
FeatureRequest
help wanted
mobile
Android, iOS, and x/mobile
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
When using
go bind ios
in our project we are getting everything coming through as PascalCase. This is irritating because it's standard for methods and functions to be camelCase, classes to be PascalCase, and so on. But insteadgo bind ios
seems to treat everything as PascalCase whether it's a class, function, method, variable, interface or anything else.At a minimum
go bind ios
andgo bind android
should adopt best practices for casing.What did you expect to see?
Classes: PascalCase, methods: camelCase, constants or enums: UPPERCASE, variables: camelCase.
What did you see instead?
Everything is PascalCase
The text was updated successfully, but these errors were encountered: