1
0
Fork 0
mirror of https://gitlab.com/mfocko/LeetCode.git synced 2024-11-10 00:09:06 +01:00

go: add ‹package› to satisfy ‹gofmt›

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2024-02-26 16:38:21 +01:00
parent 18017bce64
commit ffef9f6188
Signed by: mfocko
GPG key ID: 7C47D46246790496

View file

@ -1,3 +1,5 @@
package palindromic_substrings
func checkSubstring(s string, i, j int) int { func checkSubstring(s string, i, j int) int {
if i < 0 || j >= len(s) { if i < 0 || j >= len(s) {
return 0 return 0