11 lines
302 B
Go
11 lines
302 B
Go
package structs
|
|
|
|
import uuid "github.com/satori/go.uuid"
|
|
|
|
type Interface struct {
|
|
ID uuid.UUID `yaml:"id,omitempty" json:"id,omitempty"`
|
|
Name string `yaml:"name,omitempty" json:"name,omitempty" default:"noname"`
|
|
Fields []Field `yaml:"fields,omitempty" json:"fields,omitempty"`
|
|
// TODO
|
|
}
|