Remove ID from Rule

This commit is contained in:
Samuel Lorch 2023-05-13 22:46:44 +02:00
parent 3a7e9f9af0
commit d3ad3ff051

View file

@ -3,7 +3,6 @@ package firewall
import "encoding/json"
type Rule struct {
ID uint64 `json:"id" validate:"required,gt=0"`
Name string `json:"name" validate:"required"`
Match Match `json:"match" validate:"required,dive"`
Comment string `json:"comment,omitempty"`