style: reorder imports

This commit is contained in:
Jason Cameron
2025-06-13 16:28:30 -04:00
parent 44c9557676
commit 6e552c58c4
3 changed files with 7 additions and 5 deletions

View File

@@ -170,9 +170,9 @@ func (b *BotConfig) Valid() error {
}
type ChallengeRules struct {
Algorithm string `json:"algorithm"`
Difficulty int `json:"difficulty"`
ReportAs int `json:"report_as"`
Algorithm string `json:"algorithm,omitempty" yaml:"algorithm,omitempty"`
Difficulty int `json:"difficulty,omitempty" yaml:"difficulty,omitempty"`
ReportAs int `json:"report_as,omitempty" yaml:"report_as,omitempty"`
}
var (