首页 > 解决方案 > 如何从打车中读取 stix 数据

问题描述

想从http://hailataxii.com/读取 stix 数据,但没有得到它的想法!

对于如何连接,他们提供的信息不多,也没有找到任何有关它的文档。想到使用 freetaxiiserver (Go package) 在安装时出错。https://github.com/freetaxii/server#freetaxiiserver

go get -u -v github.com/freetaxii/server/cmd/freetaxii
cd github.com/freetaxii/server/cmd/freetaxii

第一个命令的错误 1]

package github.com/freetaxii/libstix2/resources/collections: cannot find package "github.com/freetaxii/libstix2/resources/collections" in any of:
    /usr/local/go/src/github.com/freetaxii/libstix2/resources/collections (from $GOROOT)
    /home/rohith/go/src/github.com/freetaxii/libstix2/resources/collections (from $GOPATH)
package github.com/freetaxii/libstix2/objects/baseobject: cannot find package "github.com/freetaxii/libstix2/objects/baseobject" in any of:
    /usr/local/go/src/github.com/freetaxii/libstix2/objects/baseobject (from $GOROOT)
    /home/rohith/go/src/github.com/freetaxii/libstix2/objects/baseobject (from $GOPATH)

2] 对于第二个命令

bash: cd: github.com/freetaxii/server/cmd/freetaxii: No such file or directory

已安装其所需的依赖项。

有什么方法可以读取数据 hailTaxii 或者如果我获得文档会有所帮助。

标签: go

解决方案


推荐阅读