This PR is meant to add an examples/ folder that contains a main.go file that can be run immediately after first cloning the repo locally. I actually followed along with: https://surrealdb.com/blog/getting-started-with-surrealdb so if someone was watching the video, they could see everything the Youtuber did in Golang. Of course, the whole video is not moved over, it is about the first 10 minutes.
I also added a SchemalessSelect function which returns "rows" instead of a list of maps.
This PR is meant to add an
examples/
folder that contains amain.go
file that can be run immediately after first cloning the repo locally. I actually followed along with: https://surrealdb.com/blog/getting-started-with-surrealdb so if someone was watching the video, they could see everything the Youtuber did in Golang. Of course, the whole video is not moved over, it is about the first 10 minutes.I also added a
SchemalessSelect
function which returns "rows" instead of a list of maps.Also, will update once https://github.com/surrealdb/surrealdb.go/pull/3 gets merged to reflect the latest functionality