5 Matching Annotations
  1. Dec 2022
    1. For now, because you haven't published the module yet, you need to adapt the example.com/hello module so it can find the example.com/greetings code on your local file system.
  2. Nov 2022
  3. Jul 2022
    1. use the go mod edit command to edit the example.com/hello module to redirect Go tools from its module path (where the module isn't) to the local directory (where it is).

      step #1:

      go mod edit -replace */=/

      step #2:

      go mod tidy

    2. go mod edit -replace example.com/greetings=../greetings

      模块(module)路径修改 如何修改模块的路径,将线上的路径指向本地。

  4. Apr 2022