issues
search
sisimai
/
go-sisimai
Go language version of Sisimai: Under the development and may be released this summer
BSD 2-Clause "Simplified" License
12
stars
0
forks
source link
Use sisimai/string.EqualsAny() instead of slices.Contains()
#9
Open
azumakuniyuki
opened
1 month ago
azumakuniyuki
commented
1 month ago
Before:
slices.Contains(list, v)
After:
sisimoji.EqualsAny(v, list)
slices.Contains(list, v)
sisimoji.EqualsAny(v, list)