package
Version:
v0.0.0-...-84c4fc0
Opens a new window with list of versions in this module.
Published: Dec 30, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Model struct {
ID uint `gorm:"primarykey" json:"id"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
DeletedAt gorm.DeletedAt `gorm:"index" json:"deletedAt"`
}
type Node struct {
Model
Name string `gorm:"column=name" json:"name"`
OutBound map[string]interface{} `gorm:"column=outbound" json:"outBound"`
Enable bool `gorm:"column=enable" json:"enable"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.