PromucFlow_constructor/app/server/src/models/components.go
Arpit Mohan 13156380ce Adding the factory pattern to switch between databases.
Also adding a basic GET API for components

Making modifications to the Makefile to create a dist/ folder.
2019-02-26 22:36:21 +05:30

10 lines
130 B
Go

package models
type (
Component struct {
ID int64 `json:"id"`
Name string `json:"name"`
Type string `json:"type"`
}
)