From c089cf73c2f1835dc68fd6107d6cbd10fc17f365 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Mon, 3 Feb 2020 12:09:07 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- doc/development/go_guide/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/development/go_guide') 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. -- cgit v1.2.1