-
Clone the MeshKit repository into the same directory where your other Meshery components are located.
-
Open the
go.modfile within the Meshery project. -
Look for the line containing the dependency on MeshKit. It should resemble something like
github.com/meshery/meshkit/<version>. -
Navigate to the top of the
go.modfile, where thereplacefunction is used. -
Paste the line you copied from the MeshKit dependency section into the replace function.
<link you copied without version> => ../meshkit. -
Confirm that both the MeshKit and Meshery repositories are located under the same parent directory.