Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jairad26 committed Dec 26, 2024
1 parent 2d6978e commit 77aaa88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api_dql.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ const (

func buildUidQuery(gid uint64) QueryFunc {
return func() string {
return fmt.Sprintf("func: uid(%d)", gid)
return fmt.Sprintf(funcUid, gid)
}
}

func buildEqQuery(key, value any) QueryFunc {
return func() string {
return fmt.Sprintf("func: eq(%s, %s)", key, value)
return fmt.Sprintf(funcEq, key, value)
}
}

Expand Down

0 comments on commit 77aaa88

Please sign in to comment.