mirror of
https://github.com/logos-messaging/specs.git
synced 2026-01-02 14:13:06 +00:00
Only specify nim and TS naming convention
Reducing the scope, we can review Rust, Golang and C in a separate PR.
This commit is contained in:
parent
25984c0b14
commit
73354fd683
@ -83,28 +83,16 @@ How the API definition should be translated to specific languages.
|
||||
|
||||
```yaml
|
||||
language_mappings:
|
||||
rust:
|
||||
naming_convention:
|
||||
- functions: "snake_case"
|
||||
- variables: "snake_case"
|
||||
- types: "PascalCase"
|
||||
|
||||
golang:
|
||||
naming_convention:
|
||||
- functions: "snake_case"
|
||||
- variables: "snake_case"
|
||||
- types: "PascalCase"
|
||||
|
||||
c:
|
||||
naming_convention: "snake_case"
|
||||
prefix: "waku_"
|
||||
|
||||
typescript:
|
||||
naming_convention:
|
||||
- functions: "camelCase"
|
||||
- variables: "camelCase"
|
||||
- types: "PascalCase"
|
||||
module_type: "esm"
|
||||
nim:
|
||||
naming_convention:
|
||||
- functions: "camelCase"
|
||||
- variables: "camelCase"
|
||||
- types: "PascalCase"
|
||||
```
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user