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

Shimon/go version #89

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

shimont-lb
Copy link

This PR aims to introduce some simple APIs to get the version's parts.

  1. Major()
  2. Minor()
  3. Patch()

The PR also includes a test that verifies those APIs.

This commit introduces APIs to get version's parts:
1. Major()
2. Minor()
3. Patch()

This will ease usage version object and make it cleaner
when need to process specific version's parts.

Signed-off-by: Shimon Turjeman <shimon@lightbitslabs.com>
This commit introduces a test that verifies the APIs:
1. Major()
2. Minor()
3. Patch()

signed-off-by: Shimon Turjeman <shimon@lightbitslabs.com>
@hashicorp-cla
Copy link

hashicorp-cla commented Nov 24, 2021

CLA assistant check
All committers have signed the CLA.

@shimont-lb
Copy link
Author

@VladRassokhin @radeksimko Can u guys review this?

2 similar comments
@shimont-lb
Copy link
Author

@VladRassokhin @radeksimko Can u guys review this?

@shimont-lb
Copy link
Author

@VladRassokhin @radeksimko Can u guys review this?

@VladRassokhin
Copy link
Contributor

VladRassokhin commented Dec 2, 2021

Please stop spamming, I've no interest in reviewing that, also I don't even have any interest in that project nor work in hashicorp.

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.

3 participants