Skip to content

Commit

Permalink
refactor: rename receiver in GroupFilter method for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
simulot committed Nov 24, 2024
1 parent 9bd94c5 commit 5a6425f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/filters/filterRawJPEG.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ const (
RawJPGStackJPG // Stack raw and JPEG files, with the JPEG file as the cover
)

func (flg RawJPGFlag) GroupFilter() Filter {
switch flg {
func (g RawJPGFlag) GroupFilter() Filter {

Check failure on line 21 in internal/filters/filterRawJPEG.go

View workflow job for this annotation

GitHub Actions / Continuous Integration

ST1016: methods on the same type should have the same receiver name (seen 1x "g", 3x "r") (stylecheck)
switch g {
case RawJPGNothing:
return unGroupRawJPGNothing
case RawJPGKeepRaw:
Expand Down

0 comments on commit 5a6425f

Please sign in to comment.