Skip to content

suraboy/workshop-go-echo

Repository files navigation

Go-echo

This project use in learning Golang , If any mistake, apologize.

Get Started

Requirements

To run this application on your machine, you need at least:

  • docker-compose
  • golang

Application flow pattern:

https://github.com/suraboy/go-echo.git

Run the docker for development:

You can start the application and run the containers in the background, use following command inside project root:

docker-compose up -d
docker-compose down

Database

You can create database "go_echo" and import sql file in folder database

http://localhost:30081
username : root 
password : suraboy

Running Application

Open the browser

http://localhost:7304

Google Cloud Logging

How to guides logging.

https://cloud.google.com/logging/docs/setup/go

Example

/api/users.go -> GetAllUser()