Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/go/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Go 什么是GitHub应用程序';GHS安装中的集成ID?_Go_Github - Fatal编程技术网

Go 什么是GitHub应用程序';GHS安装中的集成ID?

Go 什么是GitHub应用程序';GHS安装中的集成ID?,go,github,Go,Github,我正在尝试使用名为的库在Golang中创建GitHub应用程序。如下所示,需要集成ID和安装ID // Wrap the shared transport for use with the integration ID 1 authenticating with installation ID 99. itr, err := ghinstallation.NewKeyFromFile(tr, 1, 99, "2016-10-19.private-key.pem") if err != nil {

我正在尝试使用名为的库在Golang中创建GitHub应用程序。如下所示,需要集成ID和安装ID

// Wrap the shared transport for use with the integration ID 1 authenticating with installation ID 99.
itr, err := ghinstallation.NewKeyFromFile(tr, 1, 99, "2016-10-19.private-key.pem")
if err != nil {
    log.Fatal(err)
}
我认为安装ID正是URL中显示的ID(
https://github.com/settings/installations/:installation_id
)。
但是,我不知道集成ID是什么。

GitHub应用集成ID是您的GitHub应用的ID。您可以在GitHub应用程序“常规”选项卡的“关于”部分找到它