Skip to content

AV25242/go-couchbase-snippets

Repository files navigation

gocb README

This is the README for your extension "gocb". This extension enables any golang developer to quickly create couchbase scaffolding

Features

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.

Requirements

These snippets focussed only for golang developers who would want to rampup and learn couchbase

Extension Settings

Download this repository and deploy the folder in the snippets folder under rootdirectory//.vscode

Release Notes

This is the initial release for any golang developers implementing couchbase

1.0.0

Initial release of golang snippets for couchbase developers

About

yeoman scaffolding snippet generator for couchbase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published