Comments (1)
Hi sirkon,
Thank you for your time and your insightful suggestions for Nebula go client, and I am sorry for any inconvenience you had when using go client. You are right, back in the days when the dev team was lack of experience coding in golang, we didn't polish it well.
As the release date of Nebula 2.0 is approaching, we have redesigned the client, with the concerns we hear from the users. I will give you a brief introduction of the changes we made regarding the suggestions you gave:
- Code style and layout issues
- Everything is formatted now!
- Libraries are reorganized now so that the only module the user needs to import is
nebula "github.com/vesoft-inc/nebula-go"
, which simplifies the development for users.
- Code issues
-
Logging:
- Choosing a logger to use as the default client log may cause duplicated logs when users use a different logger. Since we don't know what loggers our users are using, we decided to create a logger interface that allows the user to implement the method in the interface with their preference of logger choice.
-
Error processing:
- We have refactored the error processing. A typical error handling case will be like:
// Create session session, err := pool.GetSession(username, password) if err != nil { log.Fatal(fmt.Sprintf("Fail to create a new session from connection pool, username: %s, password: %s, %s", username, password, err.Error())) }
-
Again, I want to thank you for using Nebula and being a part of the community. Your feedback is important to us. Please let us know if there is anything else you think is off or we can improve on.
Have a nice day!
from nebula-go.
Related Issues (20)
- What is the meaning of adding .editorconfig file to the project? HOT 4
- func ExecuteWithParameter can't execute, ErrorCode: -1005 HOT 1
- nebula-go 3.4.0 query nothing from nebula server 3.4.1 HOT 12
- when there's no properties, do not print empty {} HOT 1
- v3.4.1 session 泄露 HOT 3
- Some debug info of MakePlan is printed
- Failure recover for client side
- sessionPool使用的时候,session会一直增长? HOT 4
- support storage scan interface
- Support unit test outside
- `Space was not chosen` when connecting to LB in cloud with HTTP2 HOT 5
- What if user wants to pass in a `int64` as param? HOT 2
- Allow users to setHeader when using HTTP/2
- Need an interface to get the byte size of result set HOT 2
- Introduce LoadNebulaRow into the package HOT 4
- support to config the version white list
- 关于Value的处理 HOT 2
- `ResultSet.Scan` should support more types HOT 1
- Add more helper methods for session pool HOT 6
- Can we only support Go 1.18+ HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nebula-go.