Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Add an API go module for external usage. #466

Merged
merged 8 commits into from
Jan 11, 2023
Merged

Add an API go module for external usage. #466

merged 8 commits into from
Jan 11, 2023

Conversation

cyriltovena
Copy link
Collaborator

@cyriltovena cyriltovena commented Jan 3, 2023

This adds a new go module ( API ) that can be imported by other projects. It takes advantage of go workspace.

I had to remove go mod verify which is not yet compatible with workspace.

I've also taken the opportunity to reversion v1 to v1alpha1.

Once tagged api/v0.1.1 the module should be available.

see https://go.dev/doc/modules/managing-source

This is a breaking change as path for each method have changed.

Copy link
Collaborator

@simonswine simonswine left a comment

Choose a reason for hiding this comment

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

LGTM

Not an expert on go.work, but it works for me

Makefile Show resolved Hide resolved
@cyriltovena cyriltovena enabled auto-merge January 11, 2023 08:30
@cyriltovena cyriltovena merged commit c0f1aef into main Jan 11, 2023
@cyriltovena cyriltovena deleted the api-module branch January 11, 2023 08:48
simonswine pushed a commit to simonswine/pyroscope that referenced this pull request Jun 30, 2023
Add an API go module for external usage.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants