This is the README for your extension "gocb". This extension enables any golang developer to quickly create couchbase scaffolding
goget - provides mux router syntax to add a new GET endpoint
gopost - provides mux router syntax to add a new POST endpoint
gocbrepo - generates scaffolding templates with CRUD operations that would act as a repository by default the actions takes the name of the .go file.Developer may want to Inject bucket by replacing bucket := utils.Bucket() with their own implementation.
gocbaddapi - generates scaffolding template for add api, enter the name of the repo / model upon blinking cursor press the tab key once done.
gocbgetapi - generates scaffolding template for get api, enter the name of the repo / model upon blinking cursor press the tab key once done.
gocbupdateapi - generates scaffolding template for update api, enter the name of the repo / model upon blinking cursor press the tab key once done.
gocbdelapi - generates scaffolding template for delete api, enter the name of the repo / model upon blinking cursor press the tab key once done.
These snippets focussed only for golang developers who would want to rampup and learn couchbase
Download this repository and deploy the folder in the snippets folder under rootdirectory//.vscode
This is the initial release for any golang developers implementing couchbase
Initial release of golang snippets for couchbase developers