Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
docs: add guidance of timestamps (#475)
Danny Xud6c47cbf87d1
diff --git a/docs/api-style-guide.md b/docs/api-style-guide.mdindex b19bdcd923..898586cd74 100644--- a/docs/api-style-guide.md+++ b/docs/api-style-guide.md@@ -48,6 +48,10 @@ We can look at the following example as an interesting case. helloID follows Go1. Json property name: ``` helloId ```.1. Vue template name: ``` helloId ``` => ``` hello-id ```.+# Misc++1. Timestamps should be Unix timestamp (UTC timezone) in seconds whenever possible. The names should be in the format of `xxTs` such as `createdTs`. Timestamps that need precision should be nanoseconds, e.g. perf profiling. The names should be in the format of `xxNs`.+# References1. [Google's AIP](https://google.aip.dev/)