Also adding a basic GET API for components Making modifications to the Makefile to create a dist/ folder.
10 lines
130 B
Go
10 lines
130 B
Go
package models
|
|
|
|
type (
|
|
Component struct {
|
|
ID int64 `json:"id"`
|
|
Name string `json:"name"`
|
|
Type string `json:"type"`
|
|
}
|
|
)
|