4efa383c57
We don't want to directly write to models so that only selected fields can be changed and values can be validated for security reasons. Signed-off-by: Michael Mayer <michael@liquidbytes.net>
8 lines
218 B
Go
8 lines
218 B
Go
package form
|
|
|
|
// Label represents a label edit form.
|
|
type Label struct {
|
|
LabelName string `json:"LabelName"`
|
|
LabelUncertainty int `json:"LabelUncertainty"`
|
|
LabelPriority int `json:"LabelPriority"`
|
|
}
|