Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: fix small typo error (#805)
0xflotus233c29751c8c
diff --git a/README.md b/README.mdindex e4c0b344bd..ed020031ea 100644--- a/README.md+++ b/README.md@@ -51,7 +51,7 @@ Regardless of working as an IC in a team or managing your own side project, deve- [x] Web-based schema change and management workspace for teams- [x] Version control based schema migration (Database-as-Code)-- [x] Classic UI based schema migraiton (SQL Review)+- [x] Classic UI based schema migration (SQL Review)- [x] Built-in SQL Editor- [x] Detailed migration history- [x] Multi-tenancy (rollout change to homogeneous databases belonged to different tenants)diff --git a/docs/api-style-guide.md b/docs/api-style-guide.mdindex 898586cd74..b75e162779 100644--- a/docs/api-style-guide.md+++ b/docs/api-style-guide.md@@ -2,7 +2,7 @@Bytebase uses REST API and this doc describes the corresponding API style guide.-The guiding prinicipal for our style guide is **consistency**.+The guiding principal for our style guide is **consistency**.# Methods@@ -38,11 +38,11 @@ If the resource supports batch operation, then use a separate `/batch` endpoint# Messages-## Property Name Convension+## Property Name ConventionWe use json messages to communicate between backend and frontend following [Google JSON Style Guide](https://google.github.io/styleguide/jsoncstyleguide.xml). Property names must be camelCased, ascii strings. Variable names in different languages should follow their own language styles, e.g. Go and Vue. However, we must use json annotation for every fields in Go API structs to enforce the same style on the wire and prevent any breaking changes by refactoring because Go will set the json property name based on field name automatically.-We can look at the following example as an interesting case. helloID follows Go style while the wired message use helloId to be consistent with Vue convension.+We can look at the following example as an interesting case. helloID follows Go style while the wired message use helloId to be consistent with Vue convention.1. Go struct field: ``` helloID string `json:"helloId"` ```.1. Json property name: ``` helloId ```.