Skip to content

Add more doc examples#127

Merged
shoenig merged 1 commit intoshoenig:mainfrom
alessio-perugini:feature/add-more-examples
May 6, 2023
Merged

Add more doc examples#127
shoenig merged 1 commit intoshoenig:mainfrom
alessio-perugini:feature/add-more-examples

Conversation

@alessio-perugini
Copy link
Copy Markdown
Contributor

#123 .
A couple of examples a day keeps the doctor away! 👩‍⚕️

@alessio-perugini alessio-perugini changed the title Add more examples Add more doc examples May 5, 2023
@alessio-perugini alessio-perugini force-pushed the feature/add-more-examples branch from c23939a to 9b9ae21 Compare May 5, 2023 20:49
Comment thread examples_test.go

// ErrorContains
func ExampleErrorContains() {
err := errors.New("error beer not found")
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍺 !

Copy link
Copy Markdown
Owner

@shoenig shoenig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM; thanks @alessio-perugini!

@shoenig shoenig merged commit 15725ab into shoenig:main May 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants