Skip to content

Commit

Permalink
#12 Add part of func
Browse files Browse the repository at this point in the history
  • Loading branch information
thegodenage committed Mar 19, 2024
1 parent c83a414 commit 34c3d04
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/rule/tokenizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,6 @@ func isVariable(match []rune, variable string) bool {
return strMatch == fmt.Sprintf("%s", variable)
}

func getSpecialCharacter()
func getSpecialCharacter(match []rune) (string, bool) {
strMatch := string(match)

Check failure on line 104 in internal/rule/tokenizer.go

View workflow job for this annotation

GitHub Actions / build

strMatch declared and not used
}

Check failure on line 105 in internal/rule/tokenizer.go

View workflow job for this annotation

GitHub Actions / build

missing return

0 comments on commit 34c3d04

Please sign in to comment.