Skip to content

Commit

Permalink
feat: made captures [string]interface{}
Browse files Browse the repository at this point in the history
  • Loading branch information
Velka-DEV committed May 24, 2024
1 parent 9b6c05e commit 1d3b283
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/simple.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func checkProcess(args *core.CheckProcessArgs) *core.CheckResult {
return &core.CheckResult{
Combo: args.Combo,
Status: core.CheckStatusFree,
Captures: map[string]string{
Captures: map[string]interface{}{
"points": "49",
},
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/core/result.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type CheckResult struct {
Combo *Combo
Proxy string
Status CheckStatus
Captures map[string]string
Captures map[string]interface{}
}

func (r CheckResult) String() string {
Expand Down

0 comments on commit 1d3b283

Please sign in to comment.