ostafen / clover

A lightweight document-oriented NoSQL database written in pure Golang.
MIT License
680 stars 55 forks source link

Add code examples #27

Closed ostafen closed 2 years ago

ostafen commented 2 years ago

Hi, all! In order to help new users getting started with clover quickly, it would be good to add an examples folder containing several basic code samples showing the main feature of the library

jsgm commented 2 years ago

Hello @ostafen,

In my opinion, a good way to organise the examples would be as following inside a new examples folder:

Inside each folder I would personally add a main.go, ready to copy & paste.

Here's an example of how other libraries are handling this

ostafen commented 2 years ago

I agree with your suggestion!

EdwinWalela commented 2 years ago

Hello @ostafen, I would like to take this up. I'm planning on using the structure @jsgm has proposed of having each in its own folder, ready to copy & paste.

ostafen commented 2 years ago

Hi, @EdwinWalela, first of all thanks for your interest. Yes, you can use the structure proposed by jsgm :=) I assigned this to you