Skip to content

dutroctu/go-webservice

Repository files navigation

go-webservice

Middleware

image

image

image

Persistance

Manipulate SQL

Connection Pool

Manage Connection

image

Connection Pooling

image

image

image

Contexts

Upload and Download Files

  • mutipart/form-data
  • io.Copy

Websocket

Websocket Flow

image

image

Uses for Websockets

image

Templates

How to run the project

There are 2 component: web service and angular client.

How to run client

cd inventory-mgmt npm install ng serve --open

How to run service

  • Setup MySql and import products.db
  • go run main.go