How can I utilize MeshKit within a development environment for Meshery?

  1. Clone the MeshKit repository into the same directory where your other Meshery components are located.

  2. Open the go.mod file within the Meshery project.

  3. Look for the line containing the dependency on MeshKit. It should resemble something like github.com/meshery/meshkit/<version>.

  4. Navigate to the top of the go.mod file, where the replace function is used.

  5. Paste the line you copied from the MeshKit dependency section into the replace function.
    <link you copied without version> => ../meshkit.

  6. Confirm that both the MeshKit and Meshery repositories are located under the same parent directory.