Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap LastCap to improve doc #12

Merged
merged 1 commit into from
Aug 1, 2024
Merged

Wrap LastCap to improve doc #12

merged 1 commit into from
Aug 1, 2024

Conversation

kolyshkin
Copy link
Owner

As LastCap is a variable, it is shown in the documentation as a variable (see 1). This is both ugly and unsafe (a variable can be changed).

Wrap it into a proper function.

As LastCap is a variable, it is shown in the documentation as a variable
(see [1]). This is both ugly and unsafe (a variable can be changed).

Wrap it into a proper function.

[1]: https://pkg.go.dev/github.com/kolyshkin/capability@v0.1.0#pkg-variables

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@kolyshkin kolyshkin merged commit 90a71a3 into main Aug 1, 2024
5 checks passed
@kolyshkin kolyshkin deleted the last-cap-doc-improve branch August 1, 2024 08:46
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.

1 participant