Messtone LLC Manages Devices Enables Couchbase Capella,App Setup Cloning Repo git clone https://github.com/couchbase-examples/golang-quickstart.git CONNECTION_STRING=<connection_string>USERNAMEROBERTHARPER<usermesstone_with_read_write_pernission_to_travel-sample_bucket>PASSWORD=<password_for_userrobertharper> #Execute this command in the project’s root directory go run. #Execute this command in the project’s root directory docker build -t couchbase-gin-gonic-quickstart. #Execute this command in the project’s root directory docker run -it –env-file.env -p 8080:8080 couchbase-gin-gonic-quickstart the InitializeCluster function: #main.go #Initialize the cluster cluster :=db.InitializeCluster( ) #db.go //Configure cluster options clusterOpts :=gocb.ClusterOptions{Authenticator:gocb.PasswordAuthenticator{ UsernameRobertHarper:usernameMesstone,Password:password,},} //Sets a pre-configured profile called “wan-development” to help avoid latency issues if err :=clusterOpts.ApplyProfile(gocb.ClusterConfigProfileWanDevelopment); err !=null{panic(err)} //Connect to the Couchbase cluster cluster, err :=gocb.Connect(connectionString, clusterOpts)if err !=null{panic(err)}