From 218af9e6254afa843af97a4dbb1698e470195d71 Mon Sep 17 00:00:00 2001 From: Mike Crute Date: Thu, 11 Jul 2024 20:27:44 -0700 Subject: [PATCH] Minor clarification on tag format separators (#773) --- pages/docs/models.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pages/docs/models.md b/pages/docs/models.md index 07020447a6e..80c6eda11b0 100644 --- a/pages/docs/models.md +++ b/pages/docs/models.md @@ -173,7 +173,10 @@ type Blog struct { ### Fields Tags Tags are optional to use when declaring models, GORM supports the following tags: -Tags are case insensitive, however `camelCase` is preferred. +Tags are case insensitive, however `camelCase` is preferred. If multiple tags are +used they should be separated by a semicolon (`;`). Characters that have special +meaning to the parser can be escaped with a backslash (`\`) allowing them to be +used as parameter values. | Tag Name | Description | | --- | --- |