TiDB as a third-party library, abnormal dependency fetching for sourcegraph/appdash-data

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tidb作为三方库, 拉取sourcegraph/appdash-data依赖异常

| username: TiDBer_oYgi2LFD

[Overview] Scenario + Problem Overview
When developing with Golang and using the TiDB library as a third-party dependency, an error occurs during dependency fetching:
sourcegraph.com/sourcegraph/appdash-data@v0.0.0-20151005221446-73f23eafcf67: unrecognized import path “sourcegraph.com/sourcegraph/appdash-data”: reading https://sourcegraph.com/sourcegraph/appdash-data?go-get=1: 404 Not Found

[Background] Actions Taken
go.mod
require github.com/pingcap/tidb v0.0.0-20200312110807-8c4696b3f340
go mod tidy
Error: sourcegraph.com/sourcegraph/appdash-data@v0.0.0-20151005221446-73f23eafcf67: unrecognized import path “sourcegraph.com/sourcegraph/appdash-data”: reading https://sourcegraph.com/sourcegraph/appdash-data?go-get=1: 404 Not Found
Is this code repository already invalid?

| username: TiDBer_oYgi2LFD | Original post link

Alright, I saw this commit: expression: ignore `TypeNULL` in `HandleBinaryLiteral` (#49527) · pingcap/tidb@3a7bd53 · GitHub

| username: Billmay表妹 | Original post link

You might find more discussions related to the code on GitHub~

| username: TiDBer_AUBWnIBr | Original post link

To use the latest code from a branch in the repository: go get github.com/pingcap/tidb@branch-name
Example: go get github.com/pingcap/tidb@master

| username: dba远航 | Original post link

The path is not supported. Check if the permissions are insufficient or if the syntax is incorrect.

| username: ShawnYan | Original post link

Well, it has switched to GitHub.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.