Skip to content

Add an "AlreadyBound" error, returned by "set"#14

Open
rusq wants to merge 4 commits into
inconshreveable:masterfrom
rusq:alreadybound
Open

Add an "AlreadyBound" error, returned by "set"#14
rusq wants to merge 4 commits into
inconshreveable:masterfrom
rusq:alreadybound

Conversation

@rusq

@rusq rusq commented Jun 24, 2023

Copy link
Copy Markdown

It would be convenient, if there was an AlreadyBound error, so that caller could process it.

This PR implements it.

I tried to follow the style of the original tests, except when I had to create the test for "set", which is the standard table-driven template generated by VSCode.

I have also added go.mod file, as when I was making changes it was complaining about not having one. I did reduce it from 1.20 to 1.12 to ensure that older dependencies won't complain about this library requiring Go 1.20 during build.

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