diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-03 15:09:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-03 15:09:07 +0300 |
commit | c089cf73c2f1835dc68fd6107d6cbd10fc17f365 (patch) | |
tree | b91f11ed13f00c84ee69e03150d00426279911ef /doc/development/go_guide | |
parent | f14507e586a7f75f0fb71a1d8468b7361be860d4 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/go_guide')
-rw-r--r-- | doc/development/go_guide/index.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/development/go_guide/index.md b/doc/development/go_guide/index.md index f6aae945f62..59efc7be2f4 100644 --- a/doc/development/go_guide/index.md +++ b/doc/development/go_guide/index.md @@ -302,7 +302,7 @@ There are a few guidelines one should follow when using the fields in the context of that code path, such as the URI of the request using [`WithField`](https://godoc.org/github.com/sirupsen/logrus#WithField) or [`WithFields`](https://godoc.org/github.com/sirupsen/logrus#WithFields). For - example, `logrus.WithField("file", "/app/go).Info("Opening dir")`. If you + example, `logrus.WithField("file", "/app/go").Info("Opening dir")`. If you have to log multiple keys, always use `WithFields` instead of calling `WithField` more than once. |