Skip to content

Commit a1d45e3

Browse files
committed
tests: update golden files
1 parent 09a4f4a commit a1d45e3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

testdata/golden/parser_exclude-structs.golden

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ func MyThirdFunction() MyFunctionType
5252
// NewMyStruct is an example constructor function for [MyStruct]
5353
func NewMyStruct(n int) (*MyStruct, error)
5454

55+
// MyMethod is a method associated with MyStruct.
56+
func (s MyStruct) MyMethod()
57+
58+
// myUnexportedMethod is an example unexported method.
59+
func (s MyStruct) myUnexportedMethod(a, b string) string
60+
5561
// MyFunction is an example function that takes two integers as input and
5662
// returns a boolean result.
5763
func MyFunction(a, b int) bool

0 commit comments

Comments
 (0)