style: apply structpack & goimport (#469)
* refactor: reorder import statements in fetch.go and fetch_test.go Signed-off-by: Jason Cameron <git@jasoncameron.dev> * fix: optimize struct field alignment to reduce memory usage Signed-off-by: Jason Cameron <git@jasoncameron.dev> --------- Signed-off-by: Jason Cameron <git@jasoncameron.dev>
This commit is contained in:
parent
8c7640aa09
commit
529f65674e
18 changed files with 60 additions and 61 deletions
|
|
@ -8,10 +8,10 @@ import (
|
|||
)
|
||||
|
||||
type Bot struct {
|
||||
Rules Checker
|
||||
Challenge *config.ChallengeRules
|
||||
Name string
|
||||
Action config.Rule
|
||||
Challenge *config.ChallengeRules
|
||||
Rules Checker
|
||||
}
|
||||
|
||||
func (b Bot) Hash() string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue