go - 如何从打车中读取 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 或者如果我获得文档会有所帮助。
解决方案
推荐阅读
- asp.net - ID 为#### 的进程未运行。输出显示:“程序‘[4560] iisexpress.exe’已退出,代码为 0 (0x0)。”
- python - 我如何在整个数据集上应用数据增强
- python - 如何使用 joblib.Parallel() 来并行化一个带有一些“继续”的循环?
- python - AttributeError: '_tkinter.tkapp' 对象没有属性 'destoy
- arrays - 为什么我会从结果中重复的 WP_query 调用中获得第一个和最后一个帖子?
- css - 弹性项目在默认设置下不收缩
- vue.js - 如何按类别过滤数据数组?
- ruby-on-rails - Ruby 类级别变量和 Rails class_attribute 有什么区别?
- ffmpeg - 使用 ffmpeg 将 mp3 转换为 mp4 - 如何在生成的视频上绘制文件名?
- python-3.x - python3,boto3,aws ec2实例的第二个ip获取