You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rule atomic has a method gofmt (attached to an internal struct).
It could be interesting to make this method accessible to other rules (eg constant-logical-expr)
I propose to move the method into rule/utils.go.
The text was updated successfully, but these errors were encountered:
…sue #79) (#80)
* Refactoring on atomic rule:
-Main modification: move func gofmt to utils.go
* Refactoring on constant-logical-expr rule
Simplifies equality check of subexpressions by using gofmt function
Rule
atomic
has a methodgofmt
(attached to an internal struct).It could be interesting to make this method accessible to other rules (eg
constant-logical-expr
)I propose to move the method into
rule/utils.go
.The text was updated successfully, but these errors were encountered: