surrealdb / surrealdb.go

SurrealDB SDK for Golang
https://surrealdb.com
Apache License 2.0
232 stars 60 forks source link

surrealdb Auth undefined #123

Closed mvestnik closed 7 months ago

mvestnik commented 7 months ago

Describe the bug

Example in Readme incorrect. Driver is not idiomatic for Go. context.Context is not passed in the request. Before you write something - study good examples of drivers (example: go-redis) and don't embarrass yourself

Steps to reproduce

Run example in readme

Expected behaviour

.

SurrealDB version

1.1.0

Contact Details

No response

Is there an existing issue for this?

Code of Conduct

ElecTwix commented 7 months ago

Example in Readme incorrect.

Readme is updated according to the main branch, not for release. If you like to use the latest release please checkout the official doc

Driver is not idiomatic for Go. context.Context is not passed in the request.

This driver was created when surrealdb in beta and is still improving If you want to change this please submit a pull request.

Before you write something - study good examples of drivers (example: go-redis) and don't embarrass yourself

Open source thrives on community collaboration. If you have suggestions for improvement, consider submitting a pull request.