dolphindb / api-go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

怎么api-go没有维护更新吗?demo 跑不通。而且go mod 都没有更新吗?

lppgo opened this issue · comments

commented
 go run example/RdWrMemoryTable.go
# _/home/lucas/projects/api-go/src
/usr/bin/ld: warning: libDolphinDBAPI.so, needed by src/libwrapper.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libcrypto.so.1.0.0, needed by src/libwrapper.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: src/libwrapper.so: undefined reference to `dolphindb::DBConnection::~DBConnection()'
/usr/bin/ld: src/libwrapper.so: undefined reference to `std::ostream::operator<<(std::ostream& (*)(std::ostream&))'
/usr/bin/ld: src/libwrapper.so: undefined reference to `dolphindb::Util::createTable(std::vector<std::string, std::allocator<std::string> > const&, std::vector<dolphindb::DATA_TYPE, std::allocator<dolphindb::DATA_TYPE> > const&, int, int)'
/usr/bin/ld: src/libwrapper.so: undefined reference to `dolphindb::Util::createString(std::string const&)'
/usr/bin/ld: src/libwrapper.so: undefined reference to `dolphindb::Util::parseConstant(int, std::string const&)'
/usr/bin/ld: src/libwrapper.so: undefined reference to `dolphindb::Mutex::lock()'
/usr/bin/ld: src/libwrapper.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)'
/usr/bin/ld: src/libwrapper.so: undefined reference to `operator delete(void*)'
/usr/bin/ld: src/libwrapper.so: undefined reference to `dolphindb::DBConnection::close()'
/usr/bin/ld: src/libwrapper.so: undefined reference to `__cxa_end_catch'
/usr/bin/ld: src/libwrapper.so: undefined reference to `std::cout'
/usr/bin/ld: src/libwrapper.so: undefined reference to `dolphindb::Util::createDateTime(int, int, int, int, int, int)'
/usr/bin/ld: src/libwrapper.so: undefined reference to `dolphindb::Util::getEpochTime()'
/usr/bin/ld: src/libwrapper.so: undefined reference to `dolphindb::Util::createTimestamp(int, int, int, int, int, int, int)'
/usr/bin/ld: src/libwrapper.so: undefined reference to `dolphindb::DBConnection::upload(std::string const&, dolphindb::SmartPointer<dolphindb::Constant> const&)'
/usr/bin/ld: src/libwrapper.so: undefined reference to `dolphindb::Matrix::setRowLabel(dolphindb::SmartPointer<dolphindb::Constant> const&)'
/usr/bin/ld: src/libwrapper.so: undefined reference to `dolphindb::Mutex::unlock()'
/usr/bin/ld: src/libwrapper.so: undefined reference to `dolphindb::Matrix::getString(int) const'
/usr/bin/ld: src/libwrapper.so: undefined reference to `dolphindb::Matrix::setColumnLabel(dolphindb::SmartPointer<dolphindb::Constant> const&)'
/usr/bin/ld: src/libwrapper.so: undefined reference to `std::ios_base::Init::~Init()'
/usr/bin/ld: src/libwrapper.so: undefined reference to `dolphindb::Util::createBool(char)'
/usr/bin/ld: src/libwrapper.so: undefined reference to `std::allocator<char>::allocator()'
commented

原版的Go-API依赖于CGO, 使用起来有诸多限制。
新版的GO-API移除了CGO相关内容,正在开发中,预计2022年8月或9月发布。

支持windows系统不?

commented

支持windows系统不?

支持

原版的Go-API依赖于CGO, 使用起来有诸多限制。 新版的GO-API移除了CGO相关内容,正在开发中,预计2022年8月或9月发布。
现在进度如何? 期待ing ,急需

commented

测试中

测试中

好的, thk O(∩_∩)O哈哈~
其实只要基础用例过了,就可以放出来,有问题可以一起帮你们找和改

commented

原版的Go-API依赖于CGO, 使用起来有诸多限制。 新版的GO-API移除了CGO相关内容,正在开发中,预计2022年8月或9月发布。
现在进度如何? 期待ing ,急需

请问你也在使用这个吗?我们之前也在调研

原版的Go-API依赖于CGO, 使用起来有诸多限制。 新版的GO-API移除了CGO相关内容,正在开发中,预计2022年8月或9月发布。
现在进度如何? 期待ing ,急需

请问你也在使用这个吗?我们之前也在调研

暂时放弃,项目比较紧急,dolphindb性能不错,不过学习成本比较高,不适合我们当前的需求。 之前还看过TDengine 性能尚可,sql支持不错,不过开源协议是AGPL 只能放弃,选择clickhouse,以后有需求再换

新版本 api-go 发布了,因为是用纯 go 写的,所以跟原来的风格差距比较大。欢迎各位提出建议和指正错误。

commented

支持支持!