surrealdb / surrealdb.go

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

Unmarshal not declared #49

Closed Faizan-Pasha closed 1 year ago

Faizan-Pasha commented 1 year ago

I am using github.com/surrealdb/surrealdb.go v0.1.1 when I use the command surrealdb.unmarshal i get this error unmarshal not declared by package surrealdb

ElecTwix commented 1 year ago

Hey, I addressed this issue in discord before. It is because there aren't any releases after v0.1.1 but many commits were pushed to the repo. They were testing for errors and we're going to push another release, but I think they forgot.

You can pull with commit hash.

go get github.com/surrealdb/surrealdb.go@e0397e6

@phughk by any chance could you push the release on Monday?

milkyskies commented 1 year ago

I wasn't aware this function existed and spent a long time trying to figure out how to unmarshal the data manually. Thanks for the post!

phughk commented 1 year ago

Hey thanks @Faizan-Pasha, @ElecTwix , and @milkyskies ! Yes, will try and get a release out in that case.