Skip to content

AV25242/go-couchbase-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Step 1 : Clone this repository in GOPATH directory.

Step 2 : After cloning the repository, install all go dependences by going to the root/src folder and executing the following command

go get ./...


Optional Step : 

if in debug mode go to models/configuration.go and change 


content, err := ioutil.ReadFile("config/connection.json")

TO

content, err := ioutil.ReadFile("../config/connection.json")

Final step :

         From the src folder execute the following
         go run app/main.go
         
This should print the bucket name and a message if the server is started

Next navigate to 

http://localhost:8080/swagger/index.html