From f4601547eab6c872dabcd88064c50ba8eb5408cf Mon Sep 17 00:00:00 2001 From: losnir Date: Sat, 3 Feb 2024 00:14:34 +0200 Subject: [PATCH] docs: fix typo and broken anchor link to gstruct --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 5ac03bc91..05a747546 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1364,7 +1364,7 @@ and an instance book `var book = Book{...}` - you can use `HaveField` to make as Ω(books).Should(ContainElement(HaveField("Author.DOB.Month()", Equal(2)))) ``` -If you want to make lots of complex assertions against the fields of a struct take a look at the [`gstruct`package](#gstruct-testing-complex-data-types) package documented below. +If you want to make lots of complex assertions against the fields of a struct take a look at the [`gstruct`package](#codegstructcode-testing-complex-data-types) documented below. #### HaveExistingField(field interface{})